We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f5bdb commit 829cedfCopy full SHA for 829cedf
doc/files/package.json.md
@@ -742,12 +742,16 @@ The host architecture is determined by `process.arch`
742
743
## preferGlobal
744
745
-**DEPRECATED**
+Inform that this package is usually installed globally.
746
747
This option used to trigger an npm warning, but it will no longer warn. It is
748
purely there for informational purposes. It is now recommended that you install
749
any binaries as local devDependencies wherever possible.
750
751
+## preferDev
752
+
753
+Inform that this package is usually installed in `devDependencies`.
754
755
## private
756
757
If you set `"private": true` in your package.json, then npm will refuse
0 commit comments