mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Replace nyc with c8
This commit is contained in:
parent
017a974ef0
commit
aacc483fc2
2
.github/workflows/linter.yml
vendored
2
.github/workflows/linter.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
run: npm install
|
||||
- run: npm run eslint
|
||||
- name: Coverage
|
||||
run: npx nyc --reporter=lcovonly npm test
|
||||
run: npx c8 --reporter=lcovonly npm test
|
||||
env:
|
||||
CI: true
|
||||
- name: Coveralls
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"prepare": "node .githooks/install.js",
|
||||
"stylint": "stylint source/css/",
|
||||
"test": "mocha test/index.js",
|
||||
"test-cov": "nyc npm test"
|
||||
"test-cov": "c8 npm test"
|
||||
},
|
||||
"repository": "next-theme/hexo-theme-next",
|
||||
"keywords": [
|
||||
@ -33,13 +33,13 @@
|
||||
"homepage": "https://theme-next.js.org",
|
||||
"devDependencies": {
|
||||
"@next-theme/eslint-config": "0.0.3",
|
||||
"c8": "7.12.0",
|
||||
"chai": "4.3.6",
|
||||
"eslint": "8.20.0",
|
||||
"hexo": "6.2.0",
|
||||
"hexo-renderer-marked": "5.0.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"mocha": "10.0.0",
|
||||
"nyc": "15.1.0",
|
||||
"stylint": "2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user