Fixpack
fixpack
A
package.json
file scrubber for the truly insane.
GET IT: npm install -g fixpack
It will re-write your package.json file as follows:
- name first
- description second
- version third
- author fourth
- all other keys in alphabetical order
- dependencies and devDependencies sorted alphabetically
- newline at the end of the file
It will warn you if any of these are missing:
- description
- author
- repository
- keywords
- main
- bugs
- homepage
- license
It can also read a config from .fixpackrc
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|
GIF FTW!