Releases: keithamus/sort-package-json
Releases · keithamus/sort-package-json
v1.23.1
1.23.1 (2019-11-07)
Bug Fixes
- package: update detect-indent to version 6.0.0 (daab31d)
v1.23.0
1.23.0 (2019-11-07)
Features
- Cross-platform support for glob paths (#74) (a940e93)
v1.22.1
1.22.1 (2019-03-26)
Bug Fixes
- publish TypeScript typings in "files" attribute and reference them in package.json "typings" attribute (#60) (89820d2)
v1.22.0
1.22.0 (2019-03-25)
Features
- add index.d.ts typings for TypeScript (#59) (00c348f)
v1.21.0
1.21.0 (2019-03-03)
Features
- Retain Windows newlines after sorting package.json strings (#58) (7a953c7)
v1.20.0
1.20.0 (2019-03-01)
Features
- add several bundle entries (umd:main, unpkg, source), and flat for yarn (#57) (262ef2d)
v1.19.0
1.19.0 (2019-02-04)
Features
- allow custom ordering of package.json properties (#55) (28e5558)
v1.17.1
1.17.1 (2018-12-17)
Bug Fixes
- colocate browser field with other entrypoints (#51) (4c88174)
v1.17.0
feat: Keep the "pre" when sorting certain scripts (#50)
* feat: Keep the "pre" when sorting certain scripts
Before, "prepare" was being sorted as if it was named "pare" and
"prettier" was being sorted as if it was named "ttier". These scripts
are now sorted as is. This is done via a blacklist, so other similar
scripts could be added later.
* feat: Only omit "pre" or "post" based on a whitelist
The whitelist contains the default scripts defined in
https://docs.npmjs.com/misc/scripts plus any scripts in the package.json
that appear as a suffix of another script in the same package.json.