Skip to content

Commit

Permalink
build: remove postinstall script from the published package
Browse files Browse the repository at this point in the history
This is as per Husky v5 documentation instructions: https://typicode.github.io/husky/#/?id=install.

Closes #142.
  • Loading branch information
jdbruijn committed Feb 14, 2021
1 parent f9baaa7 commit 7898ead
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
61 changes: 61 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
],
"scripts": {
"postinstall": "husky install .github/husky",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"lint": "run-p format:check lint-es",
"lint:fix": "run-s format lint-es:fix",
"lint-es": "eslint --ext .ts,.tsx,.js,.jsx,.json .",
Expand Down Expand Up @@ -76,6 +78,7 @@
"jest": "26.6.3",
"lint-staged": "10.5.4",
"npm-run-all": "4.1.5",
"pinst": "2.1.4",
"prettier": "2.2.1",
"semantic-release": "17.3.9",
"ts-jest": "26.5.1",
Expand Down

0 comments on commit 7898ead

Please sign in to comment.