Skip to content

Commit ed8cadc

Browse files
committed
Add coverage script
1 parent 4eab558 commit ed8cadc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"scripts": {
2121
"test": "standard && tap test.js",
2222
"benchmark": "node benchmark.js",
23-
"compare": "node compare.js"
23+
"compare": "node compare.js",
24+
"coverage": "nyc --reporter=html --reporter=text npm test"
2425
},
2526
"author": "Ruben Bridgewater",
2627
"license": "MIT",
@@ -36,6 +37,7 @@
3637
"json-stable-stringify": "^1.0.1",
3738
"json-stringify-deterministic": "^1.0.1",
3839
"json-stringify-safe": "^5.0.1",
40+
"nyc": "^13.0.1",
3941
"standard": "^11.0.0-beta.0",
4042
"tap": "^11.0.0"
4143
},

0 commit comments

Comments
 (0)