Added blanket.js for code coverage

This commit is contained in:
cgole 2013-08-12 18:09:51 -07:00
parent 94b0a28c48
commit 74460316b8
1 changed files with 5 additions and 0 deletions

View File

@ -8,12 +8,17 @@
}, },
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"blanket": {
"pattern": "//^((?!(node_modules|test)).)*$/"
},
"coverage": "mocha -r blanket -R html-cov > coverage_loopback-datasource-juggler.html",
"test": "make test" "test": "make test"
}, },
"engines": [ "engines": [
"node >= 0.6" "node >= 0.6"
], ],
"devDependencies": { "devDependencies": {
"blanket": "latest",
"semicov": "*", "semicov": "*",
"should": "~1.2.2", "should": "~1.2.2",
"mocha": "~1.8.2" "mocha": "~1.8.2"