prettier-plugin-packagejson
v2.5.5
Published
Prettier package.json plugin to make the order of properties nice.
Downloads
3,666,224
Readme
prettier-plugin-packagejson
A Prettier plugin to sort the keys of a package.json
file using sort-package-json.
Installation
npm i -D prettier prettier-plugin-packagejson
For prettier v3+ you need to configure
module.exports = {
// add this
plugins: ['prettier-plugin-packagejson'],
}