-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: remove duplicate description for
prepare
script (npm#5468)
* docs: remove duplicate description for `prepare` script * Stylistic change to be consistent
- Loading branch information
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,12 +42,10 @@ situations. These scripts happen in addition to the `pre<event>`, `post<event>`, | |
* `prepare`, `prepublish`, `prepublishOnly`, `prepack`, `postpack`, `dependencies` | ||
|
||
**prepare** (since `[email protected]`) | ||
* Runs any time before the package is packed, i.e. during `npm publish` | ||
* Runs BEFORE the package is packed, i.e. during `npm publish` | ||
and `npm pack` | ||
* Runs BEFORE the package is packed | ||
* Runs BEFORE the package is published | ||
* Runs on local `npm install` without any arguments | ||
* Run AFTER `prepublish`, but BEFORE `prepublishOnly` | ||
* Runs AFTER `prepublish`, but BEFORE `prepublishOnly` | ||
|
||
* NOTE: If a package being installed through git contains a `prepare` | ||
script, its `dependencies` and `devDependencies` will be installed, and | ||
|