Skip to content

Commit

Permalink
chore: Add postinstall for husky install
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 9, 2021
1 parent 21878f5 commit 0622767
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
Empty file modified .husky/post-merge
100644 → 100755
Empty file.
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "GitHub Actions for mdBook",
"main": "lib/index.js",
"scripts": {
"postinstall": "npx husky install",
"lint": "eslint ./src/**/*.ts",
"lint:fix": "eslint --fix ./src/**/*.ts",
"test": "jest --coverage --verbose",
Expand Down

0 comments on commit 0622767

Please sign in to comment.