diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index 268cbb45a73..7e885d3ca95 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -42,7 +42,7 @@ "docs-test": "linkinator docs", "fix": "gts fix", "lint": "gts check", - "prepare": "npm run compile", + "prepare": "npm run compile-protos && npm run compile", "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", @@ -76,4 +76,4 @@ "typescript": "^5.1.6" }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-speech" -} \ No newline at end of file +}