Skip to content

Consider JSON5 for package.json files #859

Closed as not planned
Closed as not planned

Description

Problem

We've seen that JSON5 is a much improved and friendlier version of JSON. We use it in several places like our Talkback tapes and the en.json5 translation file.

Description

pnpm supports using package.json5 as the package manifest. Using it might help us document the many many scripts we have and their pre-scripts. I often get confused because we have too many i18n anmd test scripts.

Screenshot 2023-03-07 at 12 06 15 PM

Alternatives

pnpm also supports YAML but it's got a bad reputation (I personally like it a lot). It's still popular than JSON5 and wider adoption (see syntax highlighting difference in screenshots) but it's more of a change which might turn off some people.

Screenshot 2023-03-07 at 12 07 56 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions