diff --git a/.gitignore b/.gitignore index 0cbd2b4..241a5d3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ node_modules/ tmp/ *.log .idea/ -.nyc_output/ \ No newline at end of file +coverage/ \ No newline at end of file diff --git a/package.json b/package.json index 2935cab..7f33e34 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "eslint": "eslint .", "test": "mocha test/index.js", - "test-cov": "nyc --reporter=lcovonly npm run test" + "test-cov": "c8 --reporter=lcovonly npm run test" }, "directories": { "lib": "./lib" @@ -25,15 +25,15 @@ "author": "Tommy Chen (https://zespia.tw)", "license": "MIT", "devDependencies": { - "chai": "^4.2.0", - "hexo": "^6.0.0", - "mocha": "^10.0.0", - "eslint": "^8.6.0", + "c8": "^7.12.0", + "chai": "^4.3.6", + "eslint": "^8.25.0", "eslint-config-hexo": "^5.0.0", - "nyc": "^15.0.0" + "hexo": "^6.3.0", + "mocha": "^10.0.0" }, "dependencies": { - "hexo-pagination": "2.0.0" + "hexo-pagination": "3.0.0" }, "engines": { "node": ">=12.13.0"