diff --git a/package.json b/package.json index 59e1a3e..11ebd23 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,8 @@ "lint": "eslint . --ext .ts", "postpublish": "yarn run clean", "posttest": "yarn lint", - "postinstall": "husky install", + "prepare": "husky install", + "postinstall": "husky tsc", "prepublishOnly": "yarn run build && oclif lock && oclif manifest . && oclif readme", "pretest": "yarn build --noEmit && tsc -p test --noEmit", "preversion": "yarn run clean",