Skip to content

Commit

Permalink
chore(docs): Added depreciation note in npm-scripts.md
Browse files Browse the repository at this point in the history
PR-URL: #268
Credit: @mkotsollaris
Close: #268
Reviewed-by: @claudiahdz
  • Loading branch information
mkotsollaris authored and claudiahdz committed Nov 13, 2019
1 parent 9d73b0a commit b7cef45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/using-npm/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: 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**:
Expand Down

0 comments on commit b7cef45

Please sign in to comment.