diff --git a/package.json b/package.json index 3ca070c6..4d665ff5 100644 --- a/package.json +++ b/package.json @@ -76,8 +76,7 @@ "lint": "eslint --cache .", "test": "jest", "ci:test": "jest --coverage", - "preinstall": "npx only-allow pnpm", - "prepare": "husky install" + "prepare": "husky install && npx only-allow pnpm" }, "engines": { "node": ">= 12.0.0"