Add code coverage using blanket.js
This commit is contained in:
parent
18b27ff320
commit
2a360b93a2
|
@ -4,7 +4,11 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/.bin/mocha --timeout 30000 test/*test.js"
|
"test": "./node_modules/.bin/mocha --timeout 30000 test/*test.js",
|
||||||
|
"blanket": {
|
||||||
|
"pattern": "//^((?!(node_modules|test)).)*$/"
|
||||||
|
},
|
||||||
|
"coverage": "mocha -r blanket -R html-cov > coverage_loopback-storage-service.html"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pkgcloud": "latest",
|
"pkgcloud": "latest",
|
||||||
|
@ -16,7 +20,8 @@
|
||||||
"formidable": "latest",
|
"formidable": "latest",
|
||||||
"mocha": "latest",
|
"mocha": "latest",
|
||||||
"supertest": "latest",
|
"supertest": "latest",
|
||||||
"mkdirp": "latest"
|
"mkdirp": "latest",
|
||||||
|
"blanket": "latest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue