Skip to content

Commit 8bb7e8d

Browse files
mkotsollarisclaudiahdz
authored andcommitted
chore(docs): Added depreciation note in npm-scripts.md
PR-URL: #268 Credit: @mkotsollaris Close: #268 Reviewed-by: @claudiahdz
1 parent d267f46 commit 8bb7e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/using-npm/scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: How npm handles the "scripts" field
1313
npm supports the "scripts" property of the package.json file, for the
1414
following scripts:
1515

16-
* **prepublish**:
16+
* **prepublish** (_as of npm@5, `prepublish` is deprecated. Use `prepare` for build steps and `prepublishOnly` for upload-only._):
1717
Run BEFORE the package is packed and published, as well as on local `npm
1818
install` without any arguments. (See below)
1919
* **prepare**:

0 commit comments

Comments
 (0)