Skip to content

Commit 71659ee

Browse files
committed
doc: add preferDev and update preferGlobal
1 parent 671cad1 commit 71659ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/files/package.json.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,12 +733,16 @@ The host architecture is determined by `process.arch`
733733

734734
## preferGlobal
735735

736-
**DEPRECATED**
736+
Inform that this package is usually installed globally.
737737

738738
This option used to trigger an npm warning, but it will no longer warn. It is
739739
purely there for informational purposes. It is now recommended that you install
740740
any binaries as local devDependencies wherever possible.
741741

742+
## preferDev
743+
744+
Inform that this package is usually installed in `devDependencies`.
745+
742746
## private
743747

744748
If you set `"private": true` in your package.json, then npm will refuse

0 commit comments

Comments
 (0)