diff --git a/.gitignore b/.gitignore index 356a160..3ce94ad 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,5 @@ typings/ # next.js build output .next + +.husky \ No newline at end of file diff --git a/package.json b/package.json index bf442db..ce9cdce 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "publish-patch-release": "npm run prepare-patch-release && git push origin master && git push --tags", "test": "jest --coverage", "update-changelog": "npx ts-node scripts/update-changelog.ts", - "watch": "tsc --project tsconfig.json --watch" + "watch": "tsc --project tsconfig.json --watch", + "prepare": "husky" }, "repository": { "type": "git", @@ -72,5 +73,5 @@ "hooks": { "pre-commit": "npm run build && npm run prettier && git add . && npm t" } - }, + } }