Skip to content

Commit 2a5fd89

Browse files
mkotsollarisclaudiahdz
authored andcommitted
Added depreciation note in npm-scripts.md
1 parent 087f37b commit 2a5fd89

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)