Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update build

Dillion Verma475b1ac01115
diff --git a/package.json b/package.json
index 44941563..1b0fef33 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,8 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "next dev -p 3003",
- "build": "next build",
+ "prebuild": "npm run prisma generate",
+ "build": "npx prisma generate && next build",
"start": "next start",
"lint": "next lint",
"dx": "run-s db:up db:migrate dev",