yarn add prettier-plugin-optipack -D
Supported by cosmiconfig
{
"order": [
[
"name",
"version",
"private",
"description",
"license",
"author",
"homepage",
"repository",
"bugs",
"keywords",
"publishConfig",
"main",
"source",
"types",
"typings",
"files",
"directories",
"bin",
"workspaces",
"scripts",
"engines",
"dependencies",
"devDependencies",
"peerDependencies"
] // default root sort order
],
"scripts": {
"sort": true, // You don't want sorting "scripts", switch false (default: true)
"order": ["build", "test", "clean", "lint", "fmt"] // coron-separated, pre* & post* is automatically resolved
}
}
Thanks goes to these wonderful people (emoji key):
SnO₂WMaN 💻 |
Renovate Bot 🚇 🚧 |
Semantic Release Bot 🚇 🚧 |
This project follows the all-contributors specification. Contributions of any kind welcome!