Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-07-23 10:17:13 +0400
committerisaacs <i@izs.me>2010-07-25 05:51:21 +0400
commit4ad295c09834965b7e6e0fcf45d8d7e4fe6ad98d (patch)
tree68c15ac28be173b303c90f3ab3e388d2dd5dbfed /man/scripts.1
parent9eddacd17b3d846bda0512a47c07341569747072 (diff)
make doc
Diffstat (limited to 'man/scripts.1')
-rw-r--r--man/scripts.112
1 files changed, 6 insertions, 6 deletions
diff --git a/man/scripts.1 b/man/scripts.1
index 8c568a6fa..d65b09709 100644
--- a/man/scripts.1
+++ b/man/scripts.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "NPM\-SCRIPTS" "1" "May 2010" "" ""
+.TH "NPM\-SCRIPTS" "1" "July 2010" "" ""
.
.SH "NAME"
\fBnpm\-scripts\fR \- How npm handles the "scripts" field
@@ -14,7 +14,7 @@ preinstall
Run BEFORE the package is installed
.
.TP
-install
+install, postinstall
Run AFTER the package is installed\.
.
.TP
@@ -22,11 +22,11 @@ preactivate
Run BEFORE the package is activated\.
.
.TP
-activate
+activate, postactivate
Run AFTER the package has been activated\.
.
.TP
-deactivate
+predeactivate, deactivate
Run BEFORE the package is deactivated\.
.
.TP
@@ -34,7 +34,7 @@ postdeactivate
Run AFTER the package is deactivated\.
.
.TP
-uninstall
+preuninstall, uninstall
Run BEFORE the package is uninstalled\.
.
.TP
@@ -118,4 +118,4 @@ If you want to run a make command, you can do so\. This works just fine:
.IP "" 0
.
.P
-However, the script line is not simply a command line, so \fBmake && make install\fR would try to execute the \fBmake\fR command with the arguments \fB&&\fR, \fBmake\fR, and \fBinstall\fR\. If you have a lot of stuff to run in a command, put it in a script file\.
+Scripts are run by passing the line as a script argument to \fBsh\fR\.