Skip to content

Commit

Permalink
Replace nyc with c8
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Aug 24, 2022
1 parent 017a974 commit aacc483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -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": [
Expand All @@ -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"
}
}

0 comments on commit aacc483

Please sign in to comment.