Skip to content

Commit 53c027d

Browse files
committed
Update npm scripts
1 parent 6eae5df commit 53c027d

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

0 commit comments

Comments
 (0)