Skip to content

Commit 96237ad

Browse files
author
Ruben Bridgewater
committed
Add istanbul; update dependencies; add coverage posttest
1 parent 8b312ac commit 96237ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "mocha",
8+
"posttest": "npm run coverage && npm run coverage:check",
9+
"coverage": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec",
10+
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100",
811
"build": "node tools/build"
912
},
1013
"repository": {
@@ -25,7 +28,8 @@
2528
"devDependencies": {
2629
"chai": "^3.4.0",
2730
"codeclimate-test-reporter": "^0.3.1",
28-
"ioredis": "^1.0.8",
31+
"ioredis": "^2.0.0-rc2",
32+
"istanbul": "^0.4.3",
2933
"json-stable-stringify": "^1.0.0",
3034
"mocha": "^2.2.1"
3135
}

0 commit comments

Comments
 (0)