Skip to content

Commit 1eaae24

Browse files
committed
use npm-run-all in compound scripts
1 parent fc3a3fe commit 1eaae24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"Sahar Jafari <[email protected]>"
1616
],
1717
"scripts": {
18-
"build": "npm run build-core && npm run build-bundle && npm run build-standalone",
18+
"build": "run-p --aggregate-output build-core build-bundle build-standalone",
1919
"build-bundle": "webpack --config webpack-dist-bundle.config.js --colors",
2020
"build-core": "webpack --config webpack-dist.config.js --colors",
2121
"build-standalone": "webpack --config webpack-standalone.config.js --colors",
22-
"deps-check": "npm run deps-license && npm run deps-size",
22+
"deps-check": "run-s deps-license deps-size",
2323
"deps-license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
2424
"deps-size": "webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
2525
"predev": "npm install",
@@ -29,8 +29,8 @@
2929
"lint": "eslint --cache --ext '.js,.jsx' src test",
3030
"lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
3131
"lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
32-
"test": "npm run just-test-in-node && npm run lint-errors",
33-
"test-in-node": "npm run lint-errors && npm run just-test-in-node",
32+
"test": "run-s just-test-in-node lint-errors",
33+
"test-in-node": "run-s lint-errors just-test-in-node",
3434
"just-test": "karma start --config karma.conf.js",
3535
"just-test-in-node": "cross-env NODE_ENV=test mocha --recursive --compilers js:babel-core/register test",
3636
"just-test-in-node-watch": "npm run just-test-in-node -- -w",
@@ -106,7 +106,7 @@
106106
"lodash": "^4.17.4",
107107
"matcher": "^0.1.2",
108108
"mocha": "^3.2.0",
109-
"npm-run-all": "3.1.1",
109+
"npm-run-all": "^4.1.3",
110110
"null-loader": "0.1.1",
111111
"open": "0.0.5",
112112
"postcss-loader": "0.7.0",

0 commit comments

Comments
 (0)