diff --git a/.gitignore b/.gitignore index f7b2a82..743d514 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ tmp/ .idea/ coverage/ package-lock.json -.nyc_output/ diff --git a/package.json b/package.json index aa8029d..658be0a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "eslint": "eslint .", "test": "mocha test/index.js", - "test-cov": "nyc npm run test" + "test-cov": "istanbul cover --print both _mocha -- test/index.js" }, "directories": { "lib": "./lib" @@ -33,8 +33,8 @@ "eslint": "^5.10.0", "eslint-config-hexo": "^3.0.0", "hexo": "^3.0.0", - "mocha": "^6.0.2", - "nyc": "^14.1.0" + "istanbul": "^0.4.2", + "mocha": "^6.0.2" }, "engines": { "node": ">=6.9.0"