aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/package.json
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-09-30 16:08:15 -0700
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-09-30 16:08:15 -0700
commitb3ca2ad3adcde09b1841b1aa3b9b5905ed26226b (patch)
tree16e8057de36dc9a3e2a13e37ad764035d1420d17 /src/node/package.json
parentb4499af627e37ae8f025ee3df72db678e28109d0 (diff)
parentd7d8337df091c90fed6066a28059ae88a910ce52 (diff)
Merge pull request #3583 from murgatroid99/node_coverage
Node test coverage reporting
Diffstat (limited to 'src/node/package.json')
-rw-r--r--src/node/package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/node/package.json b/src/node/package.json
index 22f94757ce..0a5528781d 100644
--- a/src/node/package.json
+++ b/src/node/package.json
@@ -21,8 +21,9 @@
},
"scripts": {
"lint": "node ./node_modules/jshint/bin/jshint src test examples interop index.js",
- "test": "node ./node_modules/mocha/bin/mocha && npm run-script lint",
- "gen_docs": "./node_modules/.bin/jsdoc -c jsdoc_conf.json"
+ "test": "./node_modules/.bin/mocha && npm run-script lint",
+ "gen_docs": "./node_modules/.bin/jsdoc -c jsdoc_conf.json",
+ "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha"
},
"dependencies": {
"bindings": "^1.2.0",
@@ -33,6 +34,7 @@
"devDependencies": {
"async": "^0.9.0",
"google-auth-library": "^0.9.2",
+ "istanbul": "^0.3.21",
"jsdoc": "^3.3.2",
"jshint": "^2.5.0",
"minimist": "^1.1.0",