From 38d75985b79ad1e6fe284bad32b816cbb025decd Mon Sep 17 00:00:00 2001 From: Menelaos Kotsollaris Date: Tue, 15 Oct 2019 23:48:13 -0700 Subject: [PATCH] Added depreciation note in npm-scripts.md --- doc/misc/npm-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/misc/npm-scripts.md b/doc/misc/npm-scripts.md index 22ded49001632..f6864383ebf41 100644 --- a/doc/misc/npm-scripts.md +++ b/doc/misc/npm-scripts.md @@ -6,7 +6,7 @@ npm-scripts(7) -- How npm handles the "scripts" field npm supports the "scripts" property of the package.json file, for the following scripts: -* prepublish: +* prepublish (_as of npm@5, `prepublish` is deprecated. Use `prepare` for build steps and `prepublishOnly` for upload-only._): Run BEFORE the package is packed and published, as well as on local `npm install` without any arguments. (See below) * prepare: