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

devDependencies sometimes omitted from object #39

Open
keis opened this issue May 20, 2015 · 0 comments
Open

devDependencies sometimes omitted from object #39

keis opened this issue May 20, 2015 · 0 comments

Comments

@keis
Copy link

keis commented May 20, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant