diff --git a/packages/poster/package.json b/packages/poster/package.json index bec5cc7..7943cfe 100644 --- a/packages/poster/package.json +++ b/packages/poster/package.json @@ -8,6 +8,7 @@ "scripts": { "poster:debug": "npx squint compile", "poster:prod": "npx squint compile", + "build": "npm run gen-discord-types && npx squint compile", "gen-discord-types": "npx openapi-typescript https://raw.githubusercontent.com/discord/discord-api-spec/main/specs/openapi.json --output ./src/discord.d.ts", "repl": "npx squint repl" },