feat: run prisma generate on build

This commit is contained in:
Vyacheslav Matyukhin 2022-04-19 01:30:15 +03:00
parent ba93178e14
commit 4a28c51169
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -21,7 +21,7 @@
"reload": "heroku run:detached ts-node -T src/backend/flow/doEverythingForScheduler.js", "reload": "heroku run:detached ts-node -T src/backend/flow/doEverythingForScheduler.js",
"setCookies": "./src/backend/manual/setCookies.sh", "setCookies": "./src/backend/manual/setCookies.sh",
"next-dev": "next dev", "next-dev": "next dev",
"next-build": "next build", "build": "prisma generate && next build",
"next-start": "next start", "next-start": "next start",
"next-export": "next export", "next-export": "next export",
"dbshell": ". .env && psql $DIGITALOCEAN_POSTGRES" "dbshell": ". .env && psql $DIGITALOCEAN_POSTGRES"