Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Allow package to suggest dependency type #536

Answered by ljharb
michaelwooley asked this question in Website
Discussion options

You must be logged in to vote

That is false; there are no packages that are always dev or peer deps. eslint is a peer dep for plugins, but a dev dep for apps, but a prod dep for a wrapper like standard. A DT package like yours is a dev dep, unless it's a runtime or a peer dep of another DT package.

The author simply can never know for sure which category of dependency their consumers will want.

Related: #100.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MylesBorins

This comment was marked as spam.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants