npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

`peerDependencies` ignore option to `.npmrc`

Sometimes one actually has no need for a peer dependency. Might an option be added for .npmrc to suppress these warnings when a project has no interest to load some specific peer deps?

It is possible one might know one does not need a peer dependency for a given project, but does actually need it for another, so perhaps such a field, if implemented, should require indication of the requiring project to flag that the user should check each one calling for the peer.