Skip to content

Commit 8b2bac4

Browse files
fiskerkeithamus
authored andcommittedDec 3, 2019
feat: add mocha field (#89)
1 parent 26f2915 commit 8b2bac4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ npx sort-package-json
9494
- [eslint](https://eslint.org/)
9595
- [jest](https://jestjs.io/)
9696
- [Istanbul](https://istanbul.js.org/)
97+
- [Mocha](https://mochajs.org/)
9798
- [xo](https://github.com/xojs/xo)
9899
- [prettier](https://prettier.io/)
99100

‎index.js

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const sortOrder = [
5555
'stylelint',
5656
'ava',
5757
'jest',
58+
'mocha',
5859
'nyc',
5960
'dependencies',
6061
'devDependencies',
@@ -179,6 +180,7 @@ function sortPackageJson(packageJson, options = {}) {
179180
sortSubKey('eslintConfig');
180181
sortSubKey('ava');
181182
sortSubKey('jest');
183+
sortSubKey('mocha');
182184
sortSubKey('nyc');
183185
sortSubKey('xo');
184186
sortSubKey('prettier');

0 commit comments

Comments
 (0)
Please sign in to comment.