From 4a28c511699330b8499db7d2dc5fa800db6f1ffd Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Tue, 19 Apr 2022 01:30:15 +0300 Subject: [PATCH] feat: run prisma generate on build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c16180c..2dbd0ff 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "reload": "heroku run:detached ts-node -T src/backend/flow/doEverythingForScheduler.js", "setCookies": "./src/backend/manual/setCookies.sh", "next-dev": "next dev", - "next-build": "next build", + "build": "prisma generate && next build", "next-start": "next start", "next-export": "next export", "dbshell": ". .env && psql $DIGITALOCEAN_POSTGRES"