From eae9f19e9dc883ca1ea67fba1feb64726f9d4e0e Mon Sep 17 00:00:00 2001 From: MOHAN Date: Fri, 15 May 2026 00:02:14 +0530 Subject: [PATCH] Run Prisma setup before frontend start --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dcc8c1c..eed3e29 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,9 @@ "deploy": "shopify app deploy", "config:use": "shopify app config use", "env": "shopify app env", + "prestart": "npm run setup", "start": "react-router-serve ./build/server/index.js", - "docker-start": "npm run setup && npm run start", + "docker-start": "npm run start", "setup": "prisma generate && prisma migrate deploy", "lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .", "shopify": "shopify",