Skip to content

Commit

Permalink
chore(package): replace istanbul with nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
weyusi committed May 31, 2019
1 parent 1bca8b5 commit fbe8efd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ tmp/
.idea/
coverage/
package-lock.json
.nyc_output/
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "istanbul cover --print both _mocha -- test/index.js"
"coverage": "nyc npm run test"
},
"directories": {
"lib": "./lib"
Expand All @@ -21,7 +21,7 @@
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"maintainers": [
"Abner Chou <hi@abnerchou.me> (http://abnerchou.me)"
],
],
"license": "MIT",
"dependencies": {
"minimatch": "^3.0.0",
Expand All @@ -33,8 +33,8 @@
"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"
},
"engines": {
"node": ">=6.9.0"
Expand Down

0 comments on commit fbe8efd

Please sign in to comment.