Skip to content

Commit a48b128

Browse files
committed
[Dev Deps] switch from covert to nyc
1 parent f0fb958 commit a48b128

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
node_modules
44

5+
coverage/
6+
.nyc_output/
7+
58
# Only apps should have lockfiles
69
npm-shrinkwrap.json
710
package-lock.json

.nycrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"all": true,
3+
"check-coverage": false,
4+
"reporter": ["text-summary", "text", "html", "json"],
5+
"lines": 86,
6+
"statements": 85.93,
7+
"functions": 82.43,
8+
"branches": 76.06,
9+
"exclude": [
10+
"coverage",
11+
"example",
12+
"test"
13+
]
14+
}

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
"description": "parse argument options",
55
"main": "index.js",
66
"devDependencies": {
7+
"nyc": "^10.3.2",
78
"tape": "^5.6.1"
89
},
910
"scripts": {
1011
"prepack": "npmignore --auto --commentLines=auto",
11-
"test": "tape test/*.js"
12+
"test": "nyc tape test/*.js"
1213
},
1314
"testling": {
1415
"files": "test/*.js",

0 commit comments

Comments
 (0)