From 4936a5abbc3a89da0cdeb65482c060d89f874723 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 | 6 +++--- 2 files changed, 3 insertions(+), 4 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..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"