summaryrefslogtreecommitdiff
path: root/deps/npm/doc/misc/npm-scripts.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/misc/npm-scripts.md')
-rw-r--r--deps/npm/doc/misc/npm-scripts.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/doc/misc/npm-scripts.md b/deps/npm/doc/misc/npm-scripts.md
index e7f0f0c4e3..3164715d98 100644
--- a/deps/npm/doc/misc/npm-scripts.md
+++ b/deps/npm/doc/misc/npm-scripts.md
@@ -71,7 +71,8 @@ npm will default some script values based on package contents.
* `"install": "node-gyp rebuild"`:
- If there is a `binding.gyp` file in the root of your package, npm will
+ If there is a `binding.gyp` file in the root of your package and you
+ haven't defined your own `install` or `preinstall` scripts, npm will
default the `install` command to compile using node-gyp.
## USER