diff --git a/package.json b/package.json index 3011d67..966e06b 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "format": "prettier --write \"**/src/**/*.ts\" \"**/test/**/*.ts\"", "lint": "npm run lint -w api && npm run lint -w app", - "prepare": "husky" + "prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.2.0",