Skip to content

Commit 209d7a3

Browse files
committed
Use nyc instead of istanbul
1 parent 40d46d4 commit 209d7a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
*.iml
55

66
coverage/
7+
.nyc_output/
78
test-output.xml

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@
2020
"eslint-config-standard": "^6.0.0-beta.2",
2121
"eslint-plugin-promise": "^2.0.1",
2222
"eslint-plugin-standard": "^2.0.0",
23-
"istanbul": "^0.4.4",
2423
"mocha": "^3.0.2",
2524
"node-version-check": "^2.1.0",
25+
"nyc": "^7.1.0",
2626
"rimraf": "^2.5.4",
2727
"should": "^11.0.0",
2828
"sinon": "^1.17.5"
2929
},
3030
"scripts": {
31-
"clean": "rimraf coverage/",
32-
"cover": "istanbul cover _mocha",
31+
"clean": "rimraf coverage/ .nyc_output/",
32+
"cover": "nyc mocha",
33+
"postcover": "nyc report --reporter lcov",
3334
"lint": "node-version-gte-4 && eslint index.js test/main.js || node-version-lt-4",
3435
"precover": "npm run lint && npm run clean",
3536
"pretest": "npm run lint",

0 commit comments

Comments
 (0)