Closed pdehaan closed 8 years ago
yes, but not all keys are sorted alphabetically. check important keys that are sorted in the top on the file, and, the rest, alphabetically
Yes, but I don't think the rest are being sorted alphabetically: Keywords Dependencies DevDependencies Scripts Licence
yea, is the behavior that I want to follow a custom schema :-)
Not sure if this is a regression, or expected or...
Steps to reproduce
npm init
finepack package.json
Actual results:
Before
finepack
:After
finepack
:Expected results:
Sorted properties (per the documentation: "Sorts the rest of the keys alphabetically and recursively."):