Skip to content

Commit

Permalink
doc: add preferDev and update preferGlobal
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgw committed Feb 21, 2019
1 parent 86f5bdb commit 829cedf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/files/package.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -742,12 +742,16 @@ The host architecture is determined by `process.arch`

## preferGlobal

**DEPRECATED**
Inform that this package is usually installed globally.

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

## preferDev

Inform that this package is usually installed in `devDependencies`.

## private

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

0 comments on commit 829cedf

Please sign in to comment.