diff --git a/package.json b/package.json index 9e01f413..98911bf2 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ }, "scripts": { "dev": "vite", - "build": "vite build", + "build": "npm run build:api && npm run build:client", + "build:client": "vite build", + "build:api": "node build-api.js", "test": "vitest --run", "format.fix": "prettier --write .", "typecheck": "tsc"