Skip to content

Commit 7fc2b6f

Browse files
authored
docs: remove duplicate description for prepare script (npm#5468)
* docs: remove duplicate description for `prepare` script * Stylistic change to be consistent
1 parent 548e70e commit 7fc2b6f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/content/using-npm/scripts.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ situations. These scripts happen in addition to the `pre<event>`, `post<event>`,
4242
* `prepare`, `prepublish`, `prepublishOnly`, `prepack`, `postpack`, `dependencies`
4343

4444
**prepare** (since `[email protected]`)
45-
* Runs any time before the package is packed, i.e. during `npm publish`
45+
* Runs BEFORE the package is packed, i.e. during `npm publish`
4646
and `npm pack`
47-
* Runs BEFORE the package is packed
48-
* Runs BEFORE the package is published
4947
* Runs on local `npm install` without any arguments
50-
* Run AFTER `prepublish`, but BEFORE `prepublishOnly`
48+
* Runs AFTER `prepublish`, but BEFORE `prepublishOnly`
5149

5250
* NOTE: If a package being installed through git contains a `prepare`
5351
script, its `dependencies` and `devDependencies` will be installed, and

0 commit comments

Comments
 (0)