diff --git a/amplify.yml b/amplify.yml index 34174f9e..83c90f5d 100644 --- a/amplify.yml +++ b/amplify.yml @@ -15,8 +15,7 @@ frontend: preBuild: commands: - nvm use 22 - - npm ci --include=dev - - echo "Skipping husky setup in production" + - npm ci build: commands: - npm run build diff --git a/package.json b/package.json index 665c6dc7..30fdfa58 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,6 @@ "build": "next build", "start": "next start", "lint": "next lint", - "prepare": "if command -v husky >/dev/null 2>&1; then husky; fi", - "postinstall": "if [ \"$NODE_ENV\" != \"production\" ] && command -v husky >/dev/null 2>&1; then husky; fi", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage"