Skip to content

Commit

Permalink
chore: add husky config postinstall
Browse files Browse the repository at this point in the history
Signed-off-by: Bucur David <[email protected]>
  • Loading branch information
bucurdavid committed Jan 16, 2024
1 parent 6a11605 commit ad45bb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"lint": "tslint --project .",
"lint:fix": "tslint --project . --fix",
"build": "tsc -p tsconfig.json",
"prepare": "npm run build && husky install"
"prepare": "npm run build && husky install",
"postinstall": "husky install && npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' && npx husky add .husky/pre-commit 'npm test'"
},
"author": "Itheum Protocol",
"license": "GPL-3.0-only",
Expand Down

0 comments on commit ad45bb4

Please sign in to comment.