Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

devDependencies sometimes omitted from object #39

@keis

Description

@keis

devDependencies is not set on the object unless it's in package.json unlike dependencies and peerDependencies which is always present.

running read-installed with a stub package.json like {"name": "foobar"} shows this behavior.

It would be great if this was instead set to a empty object like the others for consistency and also ease of iterating over the dev-dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions