Skip to content
This documentation is for v14 alpha, the docs for v13 stable are archived.

sortAz

When using the format command, determines which fields within package.json files should be sorted alphabetically. When the value is an Object, its keys are sorted alphabetically. When the value is an Array, its values are sorted alphabetically.

.syncpackrc.json
{
"sortAz": [
"bin",
"contributors",
"dependencies",
"devDependencies",
"keywords",
"peerDependencies",
"resolutions",
"scripts"
]
}