Added Istanbul to check test-coverage (#468)

* Added Istanbul to check test-coverage

* node_modules_bak is generated and automatically removed by cost-of-modules and isn't needed in the ignore.
This commit is contained in:
Jaco Koster
2018-06-16 12:44:54 +02:00
committed by Eduardo Diaz
parent 38d982b3cc
commit 7e40174623
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -1,2 +1,4 @@
node_modules
.DS_Store
.DS_Store
.nyc_output
coverage
+2 -1
View File
@@ -4,7 +4,7 @@
"description": "JSON Web Token implementation (symmetric and asymmetric)",
"main": "index.js",
"scripts": {
"test": "mocha --require test/util/fakeDate && nsp check && cost-of-modules"
"test": "nyc --reporter=html --reporter=text mocha --require test/util/fakeDate && nsp check && cost-of-modules"
},
"repository": {
"type": "git",
@@ -36,6 +36,7 @@
"cost-of-modules": "^1.0.1",
"mocha": "^2.1.0",
"nsp": "^2.6.2",
"nyc": "^11.8.0",
"sinon": "^1.15.4"
},
"engines": {