|
7 | 7 | "module": "dist-esm/index.js",
|
8 | 8 | "scripts": {
|
9 | 9 | "prebuild": "rimraf dist/ dist-esm/",
|
10 |
| - "build": "run-p build:cjs build:es", |
| 10 | + "build": "npm run build:cjs && npm run build:es", |
11 | 11 | "build:cjs": "tsc -p tsconfig.json",
|
12 | 12 | "build:es": "tsc -p tsconfig-esm.json",
|
13 |
| - "postbuild": "run-s bundle", |
| 13 | + "postbuild": "npm run bundle", |
14 | 14 | "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", |
16 | 16 | "test:ava": "cross-env TS_NODE_FILES=true node ./scripts/ava-script.js",
|
17 | 17 | "test:puppeteer:basic": "puppet-run --plugin=mocha --bundle=./test/workers/:/workers/ --serve=./bundle/worker.js:/worker.js ./test/*.chromium*.ts",
|
18 | 18 | "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",
|
19 | 19 | "posttest": "tslint --project .",
|
20 |
| - "prepare": "run-s build" |
| 20 | + "prepare": "npm run build" |
21 | 21 | },
|
22 | 22 | "exports": {
|
23 | 23 | ".": {
|
|
81 | 81 | "cross-env": "^7.0.2",
|
82 | 82 | "execa": "^4.0.3",
|
83 | 83 | "mocha": "^5.2.0",
|
84 |
| - "npm-run-all2": "^5.0.1", |
85 | 84 | "puppet-run": "^0.11.1",
|
86 | 85 | "puppet-run-plugin-mocha": "^0.10.0-alpha",
|
87 | 86 | "raw-loader": "^4.0.1",
|
|
0 commit comments