Skip to content

Commit 21a971d

Browse files
committed
remove npm-run-all
It fails to run the scripts randomly on Windows.
1 parent ce4845b commit 21a971d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
"module": "dist-esm/index.js",
88
"scripts": {
99
"prebuild": "rimraf dist/ dist-esm/",
10-
"build": "run-p build:cjs build:es",
10+
"build": "npm run build:cjs && npm run build:es",
1111
"build:cjs": "tsc -p tsconfig.json",
1212
"build:es": "tsc -p tsconfig-esm.json",
13-
"postbuild": "run-s bundle",
13+
"postbuild": "npm run bundle",
1414
"bundle": "node ./scripts/rollup-script.js",
15-
"test": "run-s test:ava test:puppeteer:basic test:puppeteer:webpack",
15+
"test": "npm run test:ava && npm run test:puppeteer:basic && npm run test:puppeteer:webpack",
1616
"test:ava": "cross-env TS_NODE_FILES=true node ./scripts/ava-script.js",
1717
"test:puppeteer:basic": "puppet-run --plugin=mocha --bundle=./test/workers/:/workers/ --serve=./bundle/worker.js:/worker.js ./test/*.chromium*.ts",
1818
"test:puppeteer:webpack": "puppet-run --serve ./test/webpack/dist/app.web/0.worker.js --serve ./test/webpack/dist/app.web/1.worker.js --plugin=mocha ./test/webpack/webpack.chromium.mocha.ts",
1919
"posttest": "tslint --project .",
20-
"prepare": "run-s build"
20+
"prepare": "npm run build"
2121
},
2222
"exports": {
2323
".": {
@@ -81,7 +81,6 @@
8181
"cross-env": "^7.0.2",
8282
"execa": "^4.0.3",
8383
"mocha": "^5.2.0",
84-
"npm-run-all2": "^5.0.1",
8584
"puppet-run": "^0.11.1",
8685
"puppet-run-plugin-mocha": "^0.10.0-alpha",
8786
"raw-loader": "^4.0.1",

0 commit comments

Comments
 (0)