Skip to content
Permalink
Browse files

test: replace istanbul with nyc (#35)

* test: replace istanbul with nyc

* chore: ignore nyc output
  • Loading branch information
curbengh authored and YoshinoriN committed Jul 29, 2019
1 parent 08fa5fa commit 046a62bcd6c8167ad120dd5695928b9071893391
Showing with 5 additions and 5 deletions.
  1. +1 −1 .gitignore
  2. +1 −1 .travis.yml
  3. +3 −3 package.json
@@ -3,4 +3,4 @@ node_modules/
tmp/
*.log
.idea/
coverage/
.nyc_output/
@@ -18,4 +18,4 @@ script:

after_script:
- npm install coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- nyc report --reporter=text-lcov | coveralls
@@ -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"
@@ -33,8 +33,8 @@
"eslint": "^6.0.1",
"eslint-config-hexo": "^3.0.0",
"hexo": "^3.0.0",
"istanbul": "^0.4.0",
"mocha": "^6.0.2"
"mocha": "^6.0.2",
"nyc": "^14.1.1"
},
"dependencies": {
"hexo-pagination": "0.1.0"

0 comments on commit 046a62b

Please sign in to comment.
You can’t perform that action at this time.