diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/npm-scripts.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/npm-scripts.md b/doc/misc/npm-scripts.md index 1d512a1ea..e7f0f0c4e 100644 --- a/doc/misc/npm-scripts.md +++ b/doc/misc/npm-scripts.md @@ -157,9 +157,9 @@ For example, if your package.json contains this: } } -then the `scripts/install.js` will be called for the install, -post-install, stages of the lifecycle, and the `scripts/uninstall.js` -would be called when the package is uninstalled. Since +then `scripts/install.js` will be called for the install +and post-install stages of the lifecycle, and `scripts/uninstall.js` +will be called when the package is uninstalled. Since `scripts/install.js` is running for two different phases, it would be wise in this case to look at the `npm_lifecycle_event` environment variable. |