Skip to content

Commit

Permalink
Chore: enforce minimum code coverage (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish authored Jun 21, 2021
1 parent 6c83ec6 commit f136e4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea
.nyc_output
.vscode
node_modules/
npm-debug.log
.vscode
.idea
yarn.lock
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint:js": "eslint . --ignore-pattern \"!.*\"",
"generate-readme-table": "node build/generate-readme-table.js",
"generate-release": "node-release-script",
"test": "mocha tests --recursive"
"test": "nyc --all --check-coverage --include lib mocha tests --recursive"
},
"files": [
"lib/"
Expand All @@ -32,6 +32,12 @@
"dependencies": {
"eslint-utils": "^2.1.0"
},
"nyc": {
"branches": 96,
"functions": 98,
"lines": 98,
"statements": 98
},
"devDependencies": {
"@not-an-aardvark/node-release-script": "^0.1.0",
"chai": "^4.1.0",
Expand All @@ -48,7 +54,8 @@
"lodash": "^4.17.2",
"markdownlint-cli": "^0.27.1",
"mocha": "^7.1.1",
"npm-run-all": "^4.1.5"
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0"
},
"peerDependencies": {
"eslint": "^7.0.0"
Expand Down

0 comments on commit f136e4c

Please sign in to comment.