summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man1')
-rw-r--r--deps/npm/man/man1/npm-ls.12
-rw-r--r--deps/npm/man/man1/npm-shrinkwrap.115
-rw-r--r--deps/npm/man/man1/npm.12
3 files changed, 17 insertions, 2 deletions
diff --git a/deps/npm/man/man1/npm-ls.1 b/deps/npm/man/man1/npm-ls.1
index 8dc00cbee9..d62b1be255 100644
--- a/deps/npm/man/man1/npm-ls.1
+++ b/deps/npm/man/man1/npm-ls.1
@@ -22,7 +22,7 @@ For example, running \fBnpm ls promzard\fP in npm's source tree will show:
.P
.RS 2
.nf
-npm@3.9.5 /path/to/npm
+npm@3.10.2 /path/to/npm
└─┬ init\-package\-json@0\.0\.4
└── promzard@0\.1\.5
.fi
diff --git a/deps/npm/man/man1/npm-shrinkwrap.1 b/deps/npm/man/man1/npm-shrinkwrap.1
index f00ca28e82..fbb2c67da7 100644
--- a/deps/npm/man/man1/npm-shrinkwrap.1
+++ b/deps/npm/man/man1/npm-shrinkwrap.1
@@ -142,6 +142,17 @@ resolution using "version" if one isn't\.
The tree is walked and any missing dependencies are installed in the usual fashion\.
.RE
+.P
+If \fBpreshrinkwrap\fP, \fBshrinkwrap\fP or \fBpostshrinkwrap\fP are in the \fBscripts\fP property of the
+\fBpackage\.json\fP, they will be executed by running \fBnpm shrinkwrap\fP\|\.
+\fBpreshrinkwrap\fP and \fBshrinkwrap\fP are executed before the shrinkwrap, \fBpostshrinkwrap\fP is
+executed afterwards\. For example to run some postprocessing on the generated file:
+.P
+.RS 2
+.nf
+"scripts": { "postshrinkwrap": "node fix\-shrinkwrap\.js" }
+.fi
+.RE
.SS Using shrinkwrapped packages
.P
Using a shrinkwrapped package is no different than using any other
@@ -216,6 +227,10 @@ contents rather than versions\.
.IP \(bu 2
npm help install
.IP \(bu 2
+npm help run\-script
+.IP \(bu 2
+npm help 7 scripts
+.IP \(bu 2
npm help 5 package\.json
.IP \(bu 2
npm help ls
diff --git a/deps/npm/man/man1/npm.1 b/deps/npm/man/man1/npm.1
index cc2a401e45..4d3bd5f58b 100644
--- a/deps/npm/man/man1/npm.1
+++ b/deps/npm/man/man1/npm.1
@@ -10,7 +10,7 @@ npm <command> [args]
.RE
.SH VERSION
.P
-3.9.5
+3.10.2
.SH DESCRIPTION
.P
npm is the package manager for the Node JavaScript platform\. It puts