diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-12-11 04:27:45 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-12-11 04:27:45 +0300 |
commit | c3a6e6679f3d98769df124e875d38e5e69fec925 (patch) | |
tree | b7bdeed25205324d130e9b2ade5c558e25efebe0 /doc | |
parent | 6abd0e0626d0f642ce0dae0e128ced80433f15a1 (diff) |
doc: grammarificate lifecycle description
Credit: @othiym23
PR-URL: https://github.com/npm/npm/pull/10650
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. |