Skip to content

Commit 385d043

Browse files
authoredSep 10, 2021
feat: support c8 (#230)
* feat: support `c8` * format
1 parent 0f1c956 commit 385d043

File tree

6 files changed

+5
-0
lines changed

6 files changed

+5
-0
lines changed
 

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ console.log(Object.keys(sorted))
172172
- [AVA](https://github.com/avajs/ava)
173173
- [Babel](https://babeljs.io/)
174174
- [Browserify](http://browserify.org/)
175+
- [c8](https://github.com/bcoe/c8)
175176
- [commitlint](https://commitlint.js.org/)
176177
- [ESLint](https://eslint.org/)
177178
- [Husky](https://github.com/typicode/husky)

‎index.js

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ const fields = [
249249
{ key: 'jest', over: sortObject },
250250
{ key: 'mocha', over: sortObject },
251251
{ key: 'nyc', over: sortObject },
252+
{ key: 'c8', over: sortObject },
252253
{ key: 'tap', over: sortObject },
253254
{ key: 'resolutions', over: sortObject },
254255
{ key: 'dependencies', over: sortObject },

‎tests/fields.js

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ for (const field of [
5858
'jest',
5959
'mocha',
6060
'nyc',
61+
'c8',
6162
'engines',
6263
'engineStrict',
6364
'preferGlobal',

‎tests/snapshots/cli.js.snap

0 Bytes
Binary file not shown.

‎tests/snapshots/main.js.md

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Generated by [AVA](https://avajs.dev).
2626
"bugs": "bugs",␊
2727
"bundleDependencies": "bundleDependencies",␊
2828
"bundledDependencies": "bundledDependencies",␊
29+
"c8": "c8",␊
2930
"categories": "categories",␊
3031
"commitlint": "commitlint",␊
3132
"config": "config",␊
@@ -174,6 +175,7 @@ Generated by [AVA](https://avajs.dev).
174175
"jest": "jest",␊
175176
"mocha": "mocha",␊
176177
"nyc": "nyc",␊
178+
"c8": "c8",␊
177179
"tap": "tap",␊
178180
"resolutions": "resolutions",␊
179181
"dependencies": "dependencies",␊

‎tests/snapshots/main.js.snap

7 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.