Skip to content

Commit

Permalink
Replace istanbul with nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 19, 2016
1 parent 5bc3820 commit 9039170
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
*.log
.nyc_output/
coverage/
node_modules/
property-information.js
Expand Down
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"browserify": "^13.0.0",
"esmangle": "^1.0.0",
"istanbul": "^0.4.0",
"nyc": "^9.0.1",
"remark-cli": "^2.1.0",
"remark-preset-wooorm": "^1.0.0",
"tape": "^4.2.0",
Expand All @@ -34,10 +34,16 @@
"build-mangle": "esmangle property-information.js > property-information.min.js",
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
"lint": "xo",
"test-api": "node test.js",
"test-coverage": "istanbul cover test.js",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test.js",
"test": "npm run build && npm run lint && npm run test-coverage"
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"xo": {
"space": true,
"rules": {
Expand Down

0 comments on commit 9039170

Please sign in to comment.