prettier-package-json
prettier-package-json copied to clipboard
Prettier formatter for package.json files
Results
22
prettier-package-json issues
Sort by
recently updated
recently updated
newest added
Input: ```json { "name": "awesome-web-framework", "version": "1.0.0", "bundleDependencies": [ "renderized", "super-streams" ] } ``` Output: ```json { "name": "awesome-web-framework", "version": "1.0.0", "bundleDependencies": { "0": "renderized", "1": "super-streams" } } ```...
I have these two dependencies in my package: ```json "@types/eslint-config-prettier": "6.11.3", "@types/eslint__js": "8.42.3", ``` When I run `yarn install`, it automatically reformats my `package.json` and orders the dependencies as: ```json...