Skip to content

Commit

Permalink
Add Prisma fix for Vercel deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
John Davison committed Sep 20, 2023
1 parent 53d70da commit d136ce0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev -p 4000",
"build": "next build",
"build": "prisma generate && next build",
"serve": "cd out && npx -yes serve -l 4004",
"start": "next start",
"lint": "next lint",
Expand All @@ -14,7 +14,8 @@
"seed": "pnpm ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts",
"generateSolutions": "pnpm ts-node --project tsconfig.scripts.json scripts/generateSolutions.ts",
"createLevels": "pnpm ts-node --project tsconfig.scripts.json scripts/createLevels.ts",
"migrate": "pnpm prisma migrate dev"
"migrate": "pnpm prisma migrate dev",
"postinstall": "prisma generate"
},
"prisma": {
"seed": "pnpm ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
Expand Down

0 comments on commit d136ce0

Please sign in to comment.