implement code coverage reporting

This commit is contained in:
Kyle Drake 2014-03-19 00:52:58 -07:00
parent 806e424680
commit 09e7cd5bdf
No known key found for this signature in database
GPG Key ID: 8BE721072E1864BE
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ node_modules/
.project
README.html
tags
coverage

View File

@ -43,6 +43,7 @@
},
"scripts": {
"test": "mocha test -R spec",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter spec test",
"postinstall": "node browser/build.js -a"
},
"dependencies": {
@ -74,7 +75,8 @@
"brfs": "~1.0.0",
"async": "~0.2.10",
"commander": "~2.1.0",
"browser-pack": "~2.0.1"
"browser-pack": "~2.0.1",
"istanbul": "~0.2.6"
},
"license": "MIT",
"engines": {