diff --git a/package.json b/package.json index c1cd7c8..745ae0c 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,10 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "prisma generate && next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "postinstall": "prisma generate" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.4.0",