From 4b95ed9c6ce0f63d983b03d8bbc7fa4ff68d6052 Mon Sep 17 00:00:00 2001 From: weyusi Date: Wed, 5 Jun 2019 16:02:57 +0930 Subject: [PATCH] Revert "chore(package): replace istanbul with nyc" This reverts commit fbe8efd5f59fba63871561e48667005dd7784e73. Superseded by #51 --- .gitignore | 1 - package.json | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) 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..ed714e5 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" @@ -21,7 +21,7 @@ "author": "Tommy Chen (http://zespia.tw)", "maintainers": [ "Abner Chou (http://abnerchou.me)" - ], + ], "license": "MIT", "dependencies": { "minimatch": "^3.0.0", @@ -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"