Add code coverage using blanket.js

This commit is contained in:
cgole 2013-08-14 13:17:10 -07:00
parent 90a3450488
commit 3445338ad5
1 changed files with 7 additions and 2 deletions

View File

@ -4,12 +4,17 @@
"description": "MySQL adapter for Loopback Data",
"main": "index.js",
"scripts": {
"test": "make test"
"test": "make test",
"blanket": {
"pattern": "//^((?!(node_modules|test)).)*$/"
},
"coverage": "mocha -r blanket -R html-cov > coverage_loopback-connector-mysql.html"
},
"dependencies": {
"loopback-datasource-juggler": "git+ssh://git@github.com:strongloop/loopback-datasource-juggler.git",
"mysql": ">= 2.0.0-alpha8",
"async": "latest"
"async": "latest",
"blanket": "latest"
},
"devDependencies": {
"coffee-script": "latest",