Skip to content

Commit afb6957

Browse files
committed
adjust package.json npm script
1 parent b7319b5 commit afb6957

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
"main": "./dist/js-scroll-effect-module.js",
1919
"scripts": {
2020
"start": "npm install && npm run dev",
21-
"dev": "cross-env NODE_ENV=\"development\" npm-run-all -p build:develop server:develop",
22-
"server:develop": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html",
23-
"build:develop": "webpack --progress --colors --watch",
24-
"prod": "cross-env NODE_ENV=\"production\" npm-run-all -p build:production server:production",
25-
"server:production": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html",
26-
"build:production": "webpack --progress --colors --watch",
21+
"dev": "npm-run-all -p webpack:develop server",
22+
"prod": "npm-run-all -p webpack:build",
23+
"server": "browser-sync start --server ./ --directory ./examples --files **/*.css **/*.js **/*.html",
24+
"webpack:develop": "webpack --progress --color --watch",
25+
"webpack:build": "webpack --mode=production --progress --color",
2726
"test": "mocha --require @babel/register"
2827
},
2928
"repository": {
@@ -49,7 +48,7 @@
4948
"webpack-cli": "^4.7.2"
5049
},
5150
"dependencies": {
52-
"@yama-dev/js-dom": "^0.1.0"
51+
"@yama-dev/js-dom": "^0.2.1"
5352
},
5453
"eslintConfig": {
5554
"env": {

0 commit comments

Comments
 (0)