diff --git a/package.json b/package.json index a0be17d..7aee1ee 100644 --- a/package.json +++ b/package.json @@ -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",