Skip to content

Commit c589e5d

Browse files
committed
Refactored as a project template
0 parents  commit c589e5d

File tree

181 files changed

+7882
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+7882
-0
lines changed

.eslintrc.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"env": {
3+
"es6": true,
4+
"browser": true
5+
},
6+
"extends": "eslint:recommended",
7+
"plugins": [
8+
"babel"
9+
],
10+
"parser": "babel-eslint",
11+
"parserOptions": {
12+
"ecmaVersion": 8,
13+
"sourceType": "module"
14+
},
15+
"rules": {
16+
"arrow-spacing": ["error", { "before": true, "after": true }],
17+
"babel/semi": "error",
18+
"curly": ["error", "multi-line"],
19+
"eqeqeq": ["error", "always"],
20+
"indent": ["error", 4, { "SwitchCase": 1 }],
21+
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
22+
"keyword-spacing": ["error", { "before": true, "after": true }],
23+
"linebreak-style": ["error", "unix"],
24+
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
25+
"new-parens": "error",
26+
"no-inner-declarations": "off",
27+
"no-return-await": "error",
28+
"no-var": "error",
29+
"object-curly-spacing": ["error", "always"],
30+
"object-shorthand": ["error", "always"],
31+
"one-var": ["error", { "initialized": "never" }],
32+
"padded-blocks": ["error", "never"],
33+
"prefer-arrow-callback": "error",
34+
"prefer-const": ["error", { "destructuring": "all" }],
35+
"quotes": ["error", "single"],
36+
"semi-spacing": ["error", { "before": false, "after": true }],
37+
"sort-imports": ["error", { "ignoreDeclarationSort": true }],
38+
"space-before-blocks": ["error", "always"],
39+
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }]
40+
}
41+
}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
.vscode
3+
node_modules
4+
package-lock.json
5+
build
6+
**/public/assets/js/loader.*
7+
**/public/assets/js/main.*

.npmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
.eslintrc.json
3+
.travis.yml
4+
build
5+
examples
6+
public
7+
rollup.config.js

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- node
4+
script:
5+
- npm run travis

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Patrick Schroen
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)