Skip to content

Commit d82b566

Browse files
author
Gareth Jones
committed
chore: moved nyc conf into package.json
1 parent b95f9d6 commit d82b566

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"prepublishOnly": "npm test",
1212
"pretest": "npm run codecheck",
1313
"clean": "rm -rf node_modules/",
14-
"test": "nyc --check-coverage --lines 100 --branches 100 --functions 100 mocha",
14+
"test": "nyc --check-coverage mocha",
1515
"html-report": "nyc report --reporter=html"
1616
},
1717
"repository": {
@@ -68,5 +68,11 @@
6868
"hooks": {
6969
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
7070
}
71+
},
72+
"nyc": {
73+
"include": [ "lib/**" ],
74+
"branches": 100,
75+
"lines": 100,
76+
"functions": 100
7177
}
7278
}

0 commit comments

Comments
 (0)