Skip to content

Commit

Permalink
chore(deps-dev): replace deprecated istanbul with nyc (#51)
Browse files Browse the repository at this point in the history
* chore(deps-dev): replace deprecated istanbul with nyc
* chore: remove remnant of istanbul
  • Loading branch information
curbengh authored and yoshinorin committed Jun 7, 2019
1 parent 77bf38b commit 8b06671
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_modules/
tmp/
*.log
.idea/
coverage/
.nyc_output/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ script:

after_script:
- npm install coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- nyc report --reporter=text-lcov | coveralls
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "istanbul cover --print both _mocha -- test/index.js"
"test-cov": "nyc npm run test"
},
"directories": {
"lib": "./lib"
Expand Down Expand Up @@ -37,7 +37,7 @@
"eslint": "^5.10.0",
"eslint-config-hexo": "^3.0.0",
"hexo": "^3.0.0",
"istanbul": "^0.4.2",
"mocha": "^6.0.2"
"mocha": "^6.0.2",
"nyc": "^14.1.0"
}
}

0 comments on commit 8b06671

Please sign in to comment.