diff options
Diffstat (limited to 'deps/npm/man/man5/npm-json.5')
-rw-r--r-- | deps/npm/man/man5/npm-json.5 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/npm/man/man5/npm-json.5 b/deps/npm/man/man5/npm-json.5 index b2ce56755aa..1829c361050 100644 --- a/deps/npm/man/man5/npm-json.5 +++ b/deps/npm/man/man5/npm-json.5 @@ -791,10 +791,10 @@ Unless the user has set the \fBengine\-strict\fP config flag, this field is advisory only will produce warnings when your package is installed as a dependency\. .SH engineStrict .P -\fBThis feature was deprecated with npm 3\.0\.0\fR +\fBThis feature was removed in npm 3\.0\.0\fR .P Prior to npm 3\.0\.0, this feature was used to treat this package as if the -user had set \fBengine\-strict\fP\|\. +user had set \fBengine\-strict\fP\|\. It is no longer used\. .SH os .P You can specify which operating systems your @@ -878,9 +878,9 @@ npm will default some values based on package contents\. If there is a \fBserver\.js\fP file in the root of your package, then npm will default the \fBstart\fP command to \fBnode server\.js\fP\|\. .IP \(bu 2 -\fB"scripts":{"preinstall": "node\-gyp rebuild"}\fP -If there is a \fBbinding\.gyp\fP file in the root of your package, npm will -default the \fBpreinstall\fP command to compile using node\-gyp\. +\fB"scripts":{"install": "node\-gyp rebuild"}\fP +If there is a \fBbinding\.gyp\fP file in the root of your package and you have not defined an \fBinstall\fP or \fBpreinstall\fP script, npm will +default the \fBinstall\fP command to compile using node\-gyp\. .IP \(bu 2 \fB"contributors": [\.\.\.]\fP If there is an \fBAUTHORS\fP file in the root of your package, npm will |