npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Support different engines.node for project contributors vs project consumers?

Hi,

I don’t think this is possible currently, but I think this would be useful to specify different versions of engines.node for project contributors (ie, installing/running the devtools) and the project consumers which only consume the built JS.

Take for example React-native (see issue)

As far as I know there is no way to declare that granularity in package.json and I think it could be helpful