Skip to content

Commit

Permalink
[Dev Deps] switch from covert to nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 10, 2022
1 parent f0fb958 commit a48b128
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

node_modules

coverage/
.nyc_output/

# Only apps should have lockfiles
npm-shrinkwrap.json
package-lock.json
Expand Down
14 changes: 14 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "text", "html", "json"],
"lines": 86,
"statements": 85.93,
"functions": 82.43,
"branches": 76.06,
"exclude": [
"coverage",
"example",
"test"
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"description": "parse argument options",
"main": "index.js",
"devDependencies": {
"nyc": "^10.3.2",
"tape": "^5.6.1"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=auto",
"test": "tape test/*.js"
"test": "nyc tape test/*.js"
},
"testling": {
"files": "test/*.js",
Expand Down

0 comments on commit a48b128

Please sign in to comment.