Skip to content

Commit 935ffcf

Browse files
committed
feat(format): sort contributors alphabetically
1 parent ad5951c commit 935ffcf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/constants.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
import { IManifestKey } from './typings';
22

33
export const DEPENDENCY_TYPES: IManifestKey[] = ['dependencies', 'devDependencies', 'peerDependencies'];
4-
export const SORT_AZ = ['dependencies', 'devDependencies', 'files', 'keywords', 'peerDependencies', 'scripts'];
4+
export const SORT_AZ = [
5+
'contributors',
6+
'dependencies',
7+
'devDependencies',
8+
'files',
9+
'keywords',
10+
'peerDependencies',
11+
'scripts'
12+
];
513
export const SORT_FIRST = ['name', 'description', 'version', 'author'];
614
export const VERSION = require('../package.json').version;
715
export const GREATER = 1;

0 commit comments

Comments
 (0)