Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevnz committed Nov 2, 2019
0 parents commit 08a5a41
Show file tree
Hide file tree
Showing 12 changed files with 207 additions and 0 deletions.
Empty file added .assets/extend.css
Empty file.
11 changes: 11 additions & 0 deletions .assets/foot.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
</div>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-64038939-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'UA-64038939-2');
</script>

</body>
28 changes: 28 additions & 0 deletions .assets/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">

<head>
<title>{name} - {description} - {author}</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<link rel="stylesheet" type="text/css" href="extend.css" />
<meta name="description" content="{description}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/styles/github.min.css" />

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="{name} - {description} - {author}" />
<meta property="og:type" content="website" />
<meta property="og:description" content="{name} - {description} - {author}" />
<meta property="og:url" content="{homepage}" />
<meta property="og:image" content="https://avatars3.githubusercontent.com/u/62547?s=400&amp;v=4" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@kev_nz" />
<meta name="twitter:title" content="{name} - {description} - {author}" />
<meta name="twitter:description" content="{name} - {description} - {author}" />
<meta name="twitter:image" content="https://avatars3.githubusercontent.com/u/62547?s=400&amp;v=4" />

</head>

<body>
<div class="container">
42 changes: 42 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
jobs:
"node-11":
docker:
- image: circleci/node:11
working_directory: ~/app
steps:
- checkout

- run: npm install
- run: npm run lint
# run tests!
- run: npm test
- run: npm run coverage

"node-10":
docker:
- image: circleci/node:10
working_directory: ~/app
steps:
- checkout

- run: npm install
- run: npm test

"node-8":
docker:
- image: circleci/node:8
working_directory: ~/app
steps:
- checkout

- run: npm install
- run: npm test

workflows:
version: 2
build:
jobs:
- "node-11"
- "node-10"
- "node-8"
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@kev_nz"
]
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
.cache
.DS_Store
*.log
74 changes: 74 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"eslint.autoFixOnSave": true,
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false
},

"workbench.colorCustomizations": {
"titleBar.activeBackground": "#28ad00",
"titleBar.inactiveBackground": "#34ea2ecc",
"titleBar.activeForeground": "#ffffff",
"titleBar.inactiveForeground": "#FFFFFFCC",
"titleBar.border": "#33373f",
"activityBar.foreground": "#28ad00",
"activityBar.background": "#33373f",
"activityBarBadge.foreground": "#fff",
"tab.activeBorder": "#28ad00",
"tab.activeBorderTop": "#28ad00",
"tab.activeBackground": "#42464d"
},
"vsicons.presets.jsOfficial": true,
"vsicons.presets.jsonOfficial": true,
"vsicons.associations.folders": [
{
"icon": "view",
"extensions": [
"ui"
],
"filename": true,
"format": "svg"
},
{
"icon": "helper",
"extensions": [
"tasks"
],
"filename": true,
"format": "svg"
},
{
"icon": "video",
"extensions": [
"casting"
],
"filename": true,
"format": "svg"
},
{
"icon": "db",
"extensions": [
"queries",
"migrations"
],
"filename": true,
"format": "svg"
},
{
"icon": "api",
"extensions": [
"core"
],
"filename": true,
"format": "svg"
},
{
"icon": "component",
"extensions": [
"features"
],
"filename": true,
"format": "svg"
}
]
}
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "stencil",
"scripts": {
"test": "echo \"This is a placeholder\" && exit 0"
},
"version": "1.0.0"
}
20 changes: 20 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# My Custom Module

```
- .assets
-- extend.css
-- head.html
-- foot.html
- .circleci
-- config.yml
- src
-- index.js
-- __tests__
--- index.test.js
- .eslintrc.json
- .gitignore
- package.json
- readme.md
```

7 changes: 7 additions & 0 deletions src/__tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const main = require('../index')
describe('The module', () => {
it('should be tested', () => {
main()
expect(true).toBe(false)
})
})
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = () => {
console.log('do something')
}

0 comments on commit 08a5a41

Please sign in to comment.