diff --git a/package.json b/package.json index 736aeba..eef14c7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "scripts": { "commitlint": "commitlint --edit", - "prepare": "husky install" + "prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install" }, "config": { "commitizen": {