From 1ac8c701f971ea0b530df92c8f1e0d3f778606ad Mon Sep 17 00:00:00 2001 From: Hong Lin Date: Tue, 24 Oct 2023 02:02:19 -0400 Subject: [PATCH] Add command to build prisma too (#113) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 82759fb..3ce693f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "db-generate": "prisma generate --schema=./db/schema.prisma", "db-migrate": "doppler run -- prisma db push --schema=./db/schema.prisma", "postinstall": "cd backend && npm install && cd ../frontend && npm install", - "build:backend": "cd backend && npm run build", + "build:backend": "npm run db-generate && cd backend && npm run build", "start:backend": "cd backend && npm start", "bootcamp-setup": "cp .env.template .env" },