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
path: root/doc
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-12-11 04:27:45 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-12-11 04:27:45 +0300
commitc3a6e6679f3d98769df124e875d38e5e69fec925 (patch)
treeb7bdeed25205324d130e9b2ade5c558e25efebe0 /doc
parent6abd0e0626d0f642ce0dae0e128ced80433f15a1 (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.md6
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.