The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
package.json option preferDev to mirror preferGlobal
@iarna in the discord:
preferGlobalto make the website recommend
-g, this does point to having something like
if somone here wanted to PR a
preferDevoption in the line with
preferGlobal, I can see about getting the website updated to read it as well.
If you want to discuss this more, please drop by https://npm.community/ and make a note (and feel free to tag me!)
preferGlobal was marked deprecated, and that it doesn’t seem to affect the package page on the website at the moment.