Skip to content

Commit

Permalink
Make code-coverage mandatory when running tests (#495)
Browse files Browse the repository at this point in the history
* Made code-coverage mandatory when running the tests.

* Missed the trailing-comma...
  • Loading branch information
JacoKoster authored and ziluvatar committed Jun 25, 2018
1 parent cb1d2e1 commit fb0084a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,24 @@
"version": "8.3.0",
"description": "JSON Web Token implementation (symmetric and asymmetric)",
"main": "index.js",
"nyc": {
"check-coverage": true,
"lines": 95,
"statements": 95,
"functions": 100,
"branches": 95,
"exclude": [
"./test/**"
],
"reporter": [
"json",
"lcov",
"text-summary"
]
},
"scripts": {
"lint": "eslint .",
"test": "npm run lint && nyc --reporter=html --reporter=text mocha && nsp check && cost-of-modules"
"test": "npm run lint && nyc mocha && nsp check && cost-of-modules"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit fb0084a

Please sign in to comment.