We get a value sorting all properties inside package.json file. However we change the order of 'scripts' also, that's becoming annoying. I sort those scripts logically, but then I loose that.
| Before | After |
"dev": "",
"build": "",
"preview": "",
"check": "",
"check:lint": "",
"check:format": "",
"fix": "",
"fix:lint": "",
"fix:format": ""
|
"build": "",
"check": "",
"check:lint": "",
"check:format": "",
"dev": "",
"fix": "",
"fix:lint": "",
"fix:format": ""
"preview": "",
|
So I currently override to remove prettier-plugin-packagejson plugin, however it would be great to still sort package.json fields but ignore scripts (or specify custom order).
We get a value sorting all properties inside package.json file. However we change the order of 'scripts' also, that's becoming annoying. I sort those scripts logically, but then I loose that.
So I currently override to remove
prettier-plugin-packagejsonplugin, however it would be great to still sort package.json fields but ignorescripts(or specify custom order).