Skip to content

Commit db3d39d

Browse files
committed
Update npm scripts
1 parent beca7d5 commit db3d39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
"prepack": "npm run build && npm run format",
7272
"build": "rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage",
7373
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
74-
"test-api": "node test/index.js",
75-
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js",
74+
"test-api": "node --conditions development test/index.js",
75+
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
7676
"test": "npm run build && npm run format && npm run test-coverage"
7777
},
7878
"prettier": {

0 commit comments

Comments
 (0)