Skip to content

Commit

Permalink
feat(package-properties): a few more tweaks to property order
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Aug 19, 2022
1 parent f9ba1d0 commit 7a41e0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/package/property-sorter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ suite('package.json property sorter', () => {
'keywords',
'runkitExampleFilename',
'exports',
'bin',
'main',
'module',
'types',
'files',
'publishConfig',
'sideEffects',
'scripts',
'files',
'publishConfig',
'config',
'dependencies',
'devDependencies',
'peerDependencies'
Expand Down
6 changes: 4 additions & 2 deletions src/package/property-sorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ export default function (packageContents) {
'keywords',
'runkitExampleFilename',
'exports',
'bin',
'main',
'module',
'types',
'files',
'publishConfig',
'sideEffects',
'scripts',
'files',
'publishConfig',
'config',
'dependencies',
'devDependencies',
'peerDependencies'
Expand Down

0 comments on commit 7a41e0a

Please sign in to comment.