Run Prisma setup before frontend start

This commit is contained in:
MOHAN 2026-05-15 00:02:14 +05:30
parent f0f441c67d
commit eae9f19e9d

View File

@ -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",