summaryrefslogtreecommitdiff
path: root/deps/npm/doc
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-06-12 04:04:17 -0400
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-06-15 10:15:55 -0700
commit3e12561b55de721faf7bcccad1dc0ccef7c28a47 (patch)
treedfe70fe3d6d00d47981b5df180c5b0d9aff32e1e /deps/npm/doc
parent5c2707c1b2078e0d4ede7fadb1adfa5eebf29210 (diff)
downloadandroid-node-v8-3e12561b55de721faf7bcccad1dc0ccef7c28a47.tar.gz
android-node-v8-3e12561b55de721faf7bcccad1dc0ccef7c28a47.tar.bz2
android-node-v8-3e12561b55de721faf7bcccad1dc0ccef7c28a47.zip
deps: upgrade to npm 2.11.2
PR-URL: https://github.com/nodejs/io.js/pull/1956 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/doc')
-rw-r--r--deps/npm/doc/cli/npm-prune.md6
-rw-r--r--deps/npm/doc/files/package.json.md2
2 files changed, 5 insertions, 3 deletions
diff --git a/deps/npm/doc/cli/npm-prune.md b/deps/npm/doc/cli/npm-prune.md
index 88c54754bb..846a04240e 100644
--- a/deps/npm/doc/cli/npm-prune.md
+++ b/deps/npm/doc/cli/npm-prune.md
@@ -15,8 +15,10 @@ removed.
Extraneous packages are packages that are not listed on the parent
package's dependencies list.
-If the `--production` flag is specified, this command will remove the
-packages specified in your `devDependencies`.
+If the `--production` flag is specified or the `NODE_ENV` environment
+variable is set to `production`, this command will remove the packages
+specified in your `devDependencies`. Setting `--production=false` will
+negate `NODE_ENV` being set to `production`.
## SEE ALSO
diff --git a/deps/npm/doc/files/package.json.md b/deps/npm/doc/files/package.json.md
index 0f091bc835..ad2b6623a1 100644
--- a/deps/npm/doc/files/package.json.md
+++ b/deps/npm/doc/files/package.json.md
@@ -499,7 +499,7 @@ run this script as well, so that you can test it easily.
## peerDependencies
-In some cases, you want to express the compatibility of your package with an
+In some cases, you want to express the compatibility of your package with a
host tool or library, while not necessarily doing a `require` of this host.
This is usually referred to as a *plugin*. Notably, your module may be exposing
a specific interface, expected and specified by the host documentation.