|
11 | 11 | "browser": "./lib/browser", |
12 | 12 | "typings": "./index.d.ts", |
13 | 13 | "scripts": { |
14 | | - "pretest": "rimraf coverage test/tmp", |
15 | | - "test": "istanbul cover test/run.js", |
16 | | - "posttest": "istanbul report lcov text", |
| 14 | + "pretest": "npm run lint", |
| 15 | + "pretests-only": "rimraf coverage test/tmp", |
| 16 | + "tests-only": "istanbul cover test/run.js", |
| 17 | + "posttests-only": "istanbul report lcov text", |
| 18 | + "test": "npm run tests-only", |
| 19 | + "posttest": "npx npm@'>=10.2' audit --production", |
17 | 20 | "lint": "eslint --ext=js,mjs .", |
18 | 21 | "report": "istanbul report lcov text", |
19 | 22 | "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8", |
20 | | - "ci-test": "npm run test && npm run browser && npm run report", |
| 23 | + "ci-test": "npm run tests-only && npm run browser && npm run report", |
21 | 24 | "predebug": "rimraf coverage test/tmp", |
22 | 25 | "debug": "verbose=1 ./test/run.js", |
23 | 26 | "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage", |
|
0 commit comments