Skip to content

Commit

Permalink
docs: rename "prepublish" to "prepublishOnly" (#826)
Browse files Browse the repository at this point in the history
Update the v5 documentation to be in line with pinst [1] by replacing the (deprecated) "prepublish" hook with "prepublishOnly".

--
1. https://github.com/typicode/pinst
  • Loading branch information
ericcornelissen committed Dec 7, 2020
1 parent 57ae9dc commit aaf1bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Expand Up @@ -58,7 +58,7 @@ yarn husky install
"private": false,
"scripts": {
"postinstall": "husky install",
"prepublish": "pinst --disable",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
}
}
Expand Down

0 comments on commit aaf1bee

Please sign in to comment.