1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

add coverage reporting

This commit is contained in:
Benjamin Coe
2015-05-25 16:25:47 -07:00
parent a2ebe4f248
commit 06b294c630
2 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,4 @@
node_modules
.tern-port
.nyc_output
coverage

View File

@@ -9,11 +9,13 @@
"author": "Matt Ranney <mjr@ranney.com>",
"main": "./index.js",
"scripts": {
"test": "node ./test.js"
"test": "node ./test.js",
"coverage": "nyc npm test && nyc report"
},
"devDependencies": {
"metrics": ">=0.1.5",
"colors": "~0.6.0-1",
"metrics": ">=0.1.5",
"nyc": "^2.2.0",
"underscore": "~1.4.4"
},
"repository": {