Added new packages for chunking and webpack sass, fixed up scripts
This commit is contained in:
parent
3018c6f5bd
commit
1228774174
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
|
@ -10,13 +10,13 @@
|
|||
"prebuild": "run-s clean lint",
|
||||
"clean": "rimraf build",
|
||||
"lint": "eslint src/js/",
|
||||
"webpack-server": "set NODE_ENV=0&& webpack-dev-server --progress --color --open --hot",
|
||||
"webpack-watch": "set NODE_ENV=0&& webpack --progress --color --watch --hot",
|
||||
"webpack-server": "webpack-dev-server --env.NODE_ENV=dev --progress --color --open --hot",
|
||||
"webpack-watch": "webpack --env.NODE_ENV=dev --progress --color --watch --hot",
|
||||
"dev:sass": "node-sass -w -r src/css/ -o src/public/assets/css/",
|
||||
"dev:js": "set NODE_ENV=0&& webpack",
|
||||
"build:dir": "copyfiles -u 1 src/public/**/* build/",
|
||||
"dev:js": "webpack --env.NODE_ENV=dev",
|
||||
"build:dir": "copyfiles -a -u 2 -E src/public/**/*.* build/",
|
||||
"build:sass": "node-sass --output-style compressed src/css/ -o build/public/assets/css/",
|
||||
"build:js": "set NODE_ENV=1&& webpack --progress --color"
|
||||
"build:js": "webpack --env.NODE_ENV=prod --progress --color"
|
||||
},
|
||||
"dependencies": {
|
||||
"es6-promise": "^4.2.5",
|
||||
|
@ -28,10 +28,14 @@
|
|||
"@babel/preset-env": "^7.3.1",
|
||||
"babel-loader": "^8.0.5",
|
||||
"copyfiles": "^2.1.0",
|
||||
"css-loader": "^2.1.0",
|
||||
"eslint": "^5.12.1",
|
||||
"node-sass": "^4.9.0",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"node-sass": "^4.11.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"rimraf": "^2.6.3",
|
||||
"sass-loader": "^7.1.0",
|
||||
"style-loader": "^0.23.1",
|
||||
"webpack": "^4.29.0",
|
||||
"webpack-cli": "^3.2.1",
|
||||
"webpack-dev-server": "^3.1.14"
|
||||
|
|
Loading…
Reference in New Issue