Yarn: Support for package.json5

Created on 19 Jul 2017  路  5Comments  路  Source: yarnpkg/yarn

Could you add support for package.json5? We need comments and other features of JSON5. ;-)

JSON5 officially supports Node.js v4 LTS and v5

https://github.com/json5/json5/releases/tag/v0.5.0

cat-feature needs-discussion wont-fix

Most helpful comment

Yeah .. it would also open another slew of issue, the first of which being: "my comments are being removed when I run yarn add"

All 5 comments

I would be hesitant TBH. @yarnpkg/core, thoughts?

I don't think this is necessary at this point in time.

Yeah .. it would also open another slew of issue, the first of which being: "my comments are being removed when I run yarn add"

My thought about this is not about comments, but multiple line scripts...

Although, package.yaml would be more ideal.

Locking this convo as I don't see anyone implementing this realistically.

Was this page helpful?
0 / 5 - 0 ratings