diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..9c24407 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,2 @@ +pnpm install +npx turbo build -F @validators-dao/sol-swap diff --git a/package.json b/package.json index 7b93eb0..ee407e5 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "ci:version": "changeset version", "ci:publish": "changeset publish", "test": "echo \"Error: no test specified\" && exit 1", - "build": "turbo build" + "build": "turbo build", + "prepare": "husky" }, "keywords": [], "author": "",