Skip to content

Commit 978ba10

Browse files
authored
chore: update dependencies and replace nyc with c8 (#75)
1 parent 4abd051 commit 978ba10

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ node_modules/
33
tmp/
44
*.log
55
.idea/
6-
.nyc_output/
6+
coverage/

package.json

Lines changed: 9 additions & 9 deletions
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"
@@ -25,18 +25,18 @@
2525
"author": "Tommy Chen <[email protected]> (https://zespia.tw)",
2626
"license": "MIT",
2727
"devDependencies": {
28-
"chai": "^4.2.0",
29-
"coveralls": "^3.0.2",
30-
"eslint": "^8.8.0",
28+
"c8": "^7.12.0",
29+
"chai": "^4.3.6",
30+
"coveralls": "^3.1.1",
31+
"eslint": "^8.25.0",
3132
"eslint-config-hexo": "^5.0.0",
32-
"hexo": "^6.0.0",
33-
"mocha": "^9.2.0",
34-
"nyc": "^15.0.0"
33+
"hexo": "^6.3.0",
34+
"mocha": "^10.0.0"
3535
},
3636
"dependencies": {
37-
"hexo-pagination": "2.0.0"
37+
"hexo-pagination": "3.0.0"
3838
},
3939
"engines": {
4040
"node": ">=14"
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)