-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
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).