diff --git a/package.json b/package.json index 6c6ab64..a77f3ff 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev:backend": "nodemon -r dotenv/config ./src/api/server.ts", "build": "npm run build:frontend && npm run build:backend", "build:frontend": "vite build", - "build:backend": "tsc -p tsconfig.backend.json --outDir dist", + "build:backend": "npx prisma generate && tsc -p tsconfig.backend.json --outDir dist", "preview": "vite preview --port 5050", "test:unit": "vitest --environment jsdom", "test:unit:ci": "vitest --environment jsdom --run",