Skip to content

Commit 2af24a4

Browse files
committed
Update npm scripts
1 parent d16d143 commit 2af24a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
"prepack": "npm run build && npm run format",
5959
"build": "rimraf \"{lib/**,}*.d.ts\" && tsc && type-coverage",
6060
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
61-
"test-api": "node test.js",
62-
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js",
61+
"test-api": "node --conditions development test.js",
62+
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
6363
"test": "npm run build && npm run format && npm run test-coverage"
6464
},
6565
"prettier": {

0 commit comments

Comments
 (0)