mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +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 install
|
||||||
- run: npm run eslint
|
- run: npm run eslint
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
run: npx nyc --reporter=lcovonly npm test
|
run: npx c8 --reporter=lcovonly npm test
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: Coveralls
|
- name: Coveralls
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
"prepare": "node .githooks/install.js",
|
"prepare": "node .githooks/install.js",
|
||||||
"stylint": "stylint source/css/",
|
"stylint": "stylint source/css/",
|
||||||
"test": "mocha test/index.js",
|
"test": "mocha test/index.js",
|
||||||
"test-cov": "nyc npm test"
|
"test-cov": "c8 npm test"
|
||||||
},
|
},
|
||||||
"repository": "next-theme/hexo-theme-next",
|
"repository": "next-theme/hexo-theme-next",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -33,13 +33,13 @@
|
|||||||
"homepage": "https://theme-next.js.org",
|
"homepage": "https://theme-next.js.org",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@next-theme/eslint-config": "0.0.3",
|
"@next-theme/eslint-config": "0.0.3",
|
||||||
|
"c8": "7.12.0",
|
||||||
"chai": "4.3.6",
|
"chai": "4.3.6",
|
||||||
"eslint": "8.20.0",
|
"eslint": "8.20.0",
|
||||||
"hexo": "6.2.0",
|
"hexo": "6.2.0",
|
||||||
"hexo-renderer-marked": "5.0.0",
|
"hexo-renderer-marked": "5.0.0",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"mocha": "10.0.0",
|
"mocha": "10.0.0",
|
||||||
"nyc": "15.1.0",
|
|
||||||
"stylint": "2.0.0"
|
"stylint": "2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user