From 57ed333ca4a34a945b46124ebdfc03343513973f Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 9 May 2023 02:28:05 +0100 Subject: [PATCH] chore: add postinstall --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 22cea8fc..e471fe70 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "prisma:studio": "prisma studio", "docker:db": "docker-compose -f docker-compose.db.yml up -d", "spell-check": "cspell lint . --no-progress", - "analyze": "NODE_ENV=production ANALYZE=true BUNDLE_ANALYZE=browser next build" + "analyze": "NODE_ENV=production ANALYZE=true BUNDLE_ANALYZE=browser next build", + "postinstall": "prisma generate" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [