Skip to content

Commit fb0084a

Browse files
JacoKosterziluvatar
authored andcommitted
Make code-coverage mandatory when running tests (auth0#495)
* Made code-coverage mandatory when running the tests. * Missed the trailing-comma...
1 parent cb1d2e1 commit fb0084a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

package.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,24 @@
33
"version": "8.3.0",
44
"description": "JSON Web Token implementation (symmetric and asymmetric)",
55
"main": "index.js",
6+
"nyc": {
7+
"check-coverage": true,
8+
"lines": 95,
9+
"statements": 95,
10+
"functions": 100,
11+
"branches": 95,
12+
"exclude": [
13+
"./test/**"
14+
],
15+
"reporter": [
16+
"json",
17+
"lcov",
18+
"text-summary"
19+
]
20+
},
621
"scripts": {
722
"lint": "eslint .",
8-
"test": "npm run lint && nyc --reporter=html --reporter=text mocha && nsp check && cost-of-modules"
23+
"test": "npm run lint && nyc mocha && nsp check && cost-of-modules"
924
},
1025
"repository": {
1126
"type": "git",

0 commit comments

Comments
 (0)