Skip to content

Commit e7f87fe

Browse files
committed
Update npm scripts
1 parent 804cc39 commit e7f87fe

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
@@ -73,8 +73,8 @@
7373
"prepack": "npm run build && npm run format",
7474
"build": "rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage",
7575
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
76-
"test-api": "node test/index.js",
77-
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js",
76+
"test-api": "node --conditions development test/index.js",
77+
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
7878
"test": "npm run build && npm run format && npm run test-coverage"
7979
},
8080
"prettier": {

0 commit comments

Comments
 (0)