UNPKG

synopkg

Version:

Consistent dependency versions in large JavaScript Monorepos

29 lines (22 loc) 567 B
--- title: 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. ## Default Value ```json title=".synopkgrc.json" { "sortAz": [ "bin", "contributors", "dependencies", "devDependencies", "keywords", "peerDependencies", "resolutions", "scripts" ] } ``` :::note There is no equivalent CLI Option for this configuration. :::