Sorts the keys of a package.json object with sort-package-json.
Top-level keys follow the given order, then the default order of
sort-package-json. Nested fields are sorted as sort-package-json does,
for example dependencies alphabetically and scripts in groups separated by
colons, with pre and post scripts next to their main script.
Sorts the keys of a package.json object with
sort-package-json.Top-level keys follow the given order, then the default order of
sort-package-json. Nested fields are sorted assort-package-jsondoes, for example dependencies alphabetically and scripts in groups separated by colons, withpreandpostscripts next to their main script.