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 49c5f9f commit ab03356
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
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"
]
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
"description": "parse argument options",
"main": "index.js",
"devDependencies": {
"covert": "^1.1.1",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"tape": "^5.6.1"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=auto",
"test": "tape test/*.js",
"coverage": "covert test/*.js"
"test": "nyc tape test/*.js"
},
"testling": {
"files": "test/*.js",
Expand Down

0 comments on commit ab03356

Please sign in to comment.