Skip to content

Support package.yaml #1100

@lorefnon

Description

@lorefnon

Will it be feasible to support a yaml alternative to package.json ?

JSON is really not a good configuration format and yaml would be beneficial in many ways:

  • Supports comments

    This is the single biggest advantage. I find myself wondering so many times why a specific rc/alpha/outdated version was included in the package (instead of the latest stable), Some details about a script etc.

  • Supports anchors

    Remove duplication between peer deps and dev deps etc.

  • Multiline strings

    Useful for npm scripts involving commands

etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions