From dcc03ec858bddd7aa2173b5a86b55c1c2385a2a3 Mon Sep 17 00:00:00 2001 From: Nikolai Vavilov Date: Mon, 26 Nov 2018 18:14:36 +0200 Subject: [PATCH] docs: Note that "prepare" runs when installing git dependencies (#82) PR-URL: https://github.com/npm/cli/pull/82 Credit: @seishun Reviewed-By: @zkat --- doc/misc/npm-scripts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/misc/npm-scripts.md b/doc/misc/npm-scripts.md index e4b90096ae962..80d19fc951598 100644 --- a/doc/misc/npm-scripts.md +++ b/doc/misc/npm-scripts.md @@ -10,9 +10,9 @@ following scripts: Run BEFORE the package is packed and published, as well as on local `npm install` without any arguments. (See below) * prepare: - Run both BEFORE the package is packed and published, and on local `npm - install` without any arguments (See below). This is run - AFTER `prepublish`, but BEFORE `prepublishOnly`. + Run both BEFORE the package is packed and published, on local `npm + install` without any arguments, and when installing git dependencies (See + below). This is run AFTER `prepublish`, but BEFORE `prepublishOnly`. * prepublishOnly: Run BEFORE the package is prepared and packed, ONLY on `npm publish`. (See below.)