Releases: colinaaa/dprint-plugin-sort-package-json
Releases · colinaaa/dprint-plugin-sort-package-json
Release list
0.2.1
Changes
Install
npm (recommended)
Add the npm package to your project's dprint configuration file:
GitHub
Alternatively, use the plugin from GitHub Releases:
{
"sortPackageJson": {
// sortPackageJson config goes here
},
"plugins": [
"https://github.com/colinaaa/dprint-plugin-sort-package-json/releases/download/0.2.1/plugin.wasm"
]
}JS Formatting API
v0.2.0
Changes
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"array. - Add a
"sortPackageJson"configuration property if desired.{ // ...etc... "sortPackageJson": { // sortPackageJson config goes here }, "plugins": [ "https://plugins.dprint.dev/colinaaa/dprint-plugin-sort-package-json/0.2.0/plugin.wasm" ] }
{ "sortPackageJson": { // sortPackageJson config goes here }, "plugins": [ "npm:dprint-plugin-sort-package-json@0.2.1" ] }