Merge pull request #171 from coinpunk/coverage

implement code coverage reporting
This commit is contained in:
Ryan X. Charles 2014-03-19 06:30:13 -07:00
commit 56eb3eeedb
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": {