prettier-plugin-packagejson

2.5.0 • Public • Published

npm-badge downloads-badge actions-badge renovate-badge codecov-badge

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'],
}

Package Sidebar

Install

npm i prettier-plugin-packagejson

Weekly Downloads

617,954

Version

2.5.0

License

MIT

Unpacked Size

5.55 kB

Total Files

9

Last publish

Collaborators

  • matzkoh