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 Jan 19, 2019
1 parent 6d0cc95 commit 931eaeb
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 @@ -733,12 +733,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 931eaeb

Please sign in to comment.