Skip to content

Commit 7c4fc00

Browse files
committed
update package.json
1 parent 03cb20a commit 7c4fc00

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,21 @@
1010
"animation",
1111
"keyframe",
1212
"transition",
13-
"plugin"
13+
"plugin",
14+
"inview"
1415
],
1516
"author": "yama-dev",
1617
"license": "MIT",
1718
"main": "./dist/js-scroll-effect-module.js",
1819
"scripts": {
1920
"start": "npm install && npm run develop",
20-
"develop": "npm-run-all -p build:develop server:develop",
21+
"develop": "cross-env NODE_ENV=\"development\" npm-run-all -p build:develop server:develop",
2122
"server:develop": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html",
22-
"build:develop": "webpack --mode=development --progress --colors --watch",
23-
"production": "npm-run-all -p build:production server:production",
23+
"build:develop": "webpack --progress --colors --watch",
24+
"production": "cross-env NODE_ENV=\"production\" npm-run-all -p build:production server:production",
2425
"server:production": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html",
25-
"build:production": "webpack --mode=production --progress --colors --watch",
26-
"test": "mocha --compilers js:babel-core/register"
26+
"build:production": "webpack --progress --colors --watch",
27+
"test": "mocha --require @babel/register"
2728
},
2829
"repository": {
2930
"type": "git",

0 commit comments

Comments
 (0)