-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor HKID Generator using morden web development tools and techni…
…ques: 1. Add Webpack 2. Use of ES6 and babel 3. Delete vendor scripts jQuery, fullpage.js, and Clipboard and include them via npm 4. Delete old service worker scripts and use workbox for PWA 5. Change folder structures 6. Use of CSS preprocessor
- Loading branch information
Showing
61 changed files
with
990 additions
and
3,189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"useBuiltIns": "usage", | ||
"targets": { | ||
"browsers": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 9", | ||
"not op_mini all", | ||
"ie 10", | ||
"ie 11" | ||
] | ||
} | ||
} | ||
] | ||
], | ||
"compact" : false, | ||
"ignore": [ | ||
"node_modules" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/src/index.html | ||
/src/assets/vendor/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": ["eslint:recommended", "airbnb-base"], | ||
"settings": { | ||
"import/resolver": { | ||
"webpack": { | ||
"config": "./webpack/webpack.base.conf.js" | ||
}, | ||
"extensions": [".js"] | ||
} | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"no-console": [ | ||
"off" | ||
], | ||
"object-curly-newline": [ | ||
"error", | ||
{ | ||
"ImportDeclaration": "never", | ||
"ExportDeclaration": "never" | ||
} | ||
], | ||
"no-plusplus": [ | ||
"off" | ||
], | ||
"no-nested-ternary": [ | ||
"off" | ||
], | ||
"no-useless-escape": [ | ||
"off" | ||
], | ||
"no-underscore-dangle": [ | ||
"off" | ||
], | ||
"no-unused-expressions": [ | ||
2, | ||
{ "allowTernary": true } | ||
], | ||
"comma-dangle": [ | ||
"error", | ||
"never" | ||
], | ||
"max-len": [ | ||
"error", | ||
{ "code": 150 } | ||
], | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": true, | ||
"optionalDependencies": false, | ||
"peerDependencies": false | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.DS_Store | ||
node_modules | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
/dist | ||
|
||
bundle-analyzer-plugin-report.html |
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.