Skip to content

Commit

Permalink
feat: support c8 (#230)
Browse files Browse the repository at this point in the history
* feat: support `c8`

* format
  • Loading branch information
fisker authored Sep 10, 2021
1 parent 0f1c956 commit 385d043
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ console.log(Object.keys(sorted))
- [AVA](https://github.com/avajs/ava)
- [Babel](https://babeljs.io/)
- [Browserify](http://browserify.org/)
- [c8](https://github.com/bcoe/c8)
- [commitlint](https://commitlint.js.org/)
- [ESLint](https://eslint.org/)
- [Husky](https://github.com/typicode/husky)
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ const fields = [
{ key: 'jest', over: sortObject },
{ key: 'mocha', over: sortObject },
{ key: 'nyc', over: sortObject },
{ key: 'c8', over: sortObject },
{ key: 'tap', over: sortObject },
{ key: 'resolutions', over: sortObject },
{ key: 'dependencies', over: sortObject },
Expand Down
1 change: 1 addition & 0 deletions tests/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ for (const field of [
'jest',
'mocha',
'nyc',
'c8',
'engines',
'engineStrict',
'preferGlobal',
Expand Down
Binary file modified tests/snapshots/cli.js.snap
Binary file not shown.
2 changes: 2 additions & 0 deletions tests/snapshots/main.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Generated by [AVA](https://avajs.dev).
"bugs": "bugs",␊
"bundleDependencies": "bundleDependencies",␊
"bundledDependencies": "bundledDependencies",␊
"c8": "c8",␊
"categories": "categories",␊
"commitlint": "commitlint",␊
"config": "config",␊
Expand Down Expand Up @@ -174,6 +175,7 @@ Generated by [AVA](https://avajs.dev).
"jest": "jest",␊
"mocha": "mocha",␊
"nyc": "nyc",␊
"c8": "c8",␊
"tap": "tap",␊
"resolutions": "resolutions",␊
"dependencies": "dependencies",␊
Expand Down
Binary file modified tests/snapshots/main.js.snap
Binary file not shown.

0 comments on commit 385d043

Please sign in to comment.