Skip to content

Commit 5475c0c

Browse files
authored
chore: update dependencies and replace nyc with c8 (#85)
1 parent 94de349 commit 5475c0c

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ node_modules/
33
tmp/
44
*.log
55
.idea/
6-
.nyc_output/
76
coverage/

Diff for: package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"eslint": "eslint .",
88
"test": "mocha test/index.js",
9-
"test-cov": "nyc --reporter=lcovonly npm run test"
9+
"test-cov": "c8 --reporter=lcovonly npm run test"
1010
},
1111
"directories": {
1212
"lib": "./lib"
@@ -29,14 +29,14 @@
2929
"author": "Tommy Chen <[email protected]> (https://zespia.tw)",
3030
"license": "MIT",
3131
"devDependencies": {
32-
"chai": "^4.2.0",
33-
"eslint": "^8.5.0",
32+
"c8": "^7.12.0",
33+
"chai": "^4.3.6",
34+
"eslint": "^8.25.0",
3435
"eslint-config-hexo": "^5.0.0",
35-
"hexo": "^6.0.0",
36-
"mocha": "^10.0.0",
37-
"nyc": "^15.0.0"
36+
"hexo": "^6.3.0",
37+
"mocha": "^10.0.0"
3838
},
3939
"dependencies": {
40-
"hexo-pagination": "2.0.0"
40+
"hexo-pagination": "3.0.0"
4141
}
4242
}

0 commit comments

Comments
 (0)