added webpack
This commit is contained in:
parent
c91d24cd86
commit
9172af48fd
5 changed files with 2748 additions and 48 deletions
12
package.json
12
package.json
|
@ -17,7 +17,12 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"asmcrypto.js": "0.0.11",
|
||||
"babel-core": "^6.25.0",
|
||||
"babel-loader": "^7.1.1",
|
||||
"babel-plugin-add-module-exports": "^0.2.1",
|
||||
"babel-polyfill": "^6.23.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"browserify": "^14.4.0",
|
||||
"eslint": "^4.3.0",
|
||||
"eslint-plugin-mocha": "^4.11.0",
|
||||
|
@ -38,8 +43,8 @@
|
|||
"stylelint-config-standard": "^17.0.0",
|
||||
"supertest": "^3.0.0",
|
||||
"testpilot-ga": "^0.3.0",
|
||||
"uglifyify": "^4.0.3",
|
||||
"webcrypto-liner": "^0.1.25"
|
||||
"webcrypto-liner": "^0.1.25",
|
||||
"webpack": "^3.4.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
|
@ -85,8 +90,7 @@
|
|||
],
|
||||
"scripts": {
|
||||
"build": "npm-run-all build:*",
|
||||
"build:upload": "browserify frontend/src/upload.js -g uglifyify -o public/upload.js",
|
||||
"build:download": "browserify frontend/src/download.js -g uglifyify -o public/download.js",
|
||||
"build:js": "webpack -p",
|
||||
"build:version": "node scripts/version",
|
||||
"build:vendor": "cp node_modules/l20n/dist/web/l20n.min.js node_modules/babel-polyfill/dist/polyfill.min.js public",
|
||||
"contributors": "git shortlog -s -n | awk -F\\t '{print $2}' > CONTRIBUTORS",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue