Run Prisma setup before frontend start
This commit is contained in:
parent
f0f441c67d
commit
eae9f19e9d
@ -9,8 +9,9 @@
|
|||||||
"deploy": "shopify app deploy",
|
"deploy": "shopify app deploy",
|
||||||
"config:use": "shopify app config use",
|
"config:use": "shopify app config use",
|
||||||
"env": "shopify app env",
|
"env": "shopify app env",
|
||||||
|
"prestart": "npm run setup",
|
||||||
"start": "react-router-serve ./build/server/index.js",
|
"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",
|
"setup": "prisma generate && prisma migrate deploy",
|
||||||
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
|
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
|
||||||
"shopify": "shopify",
|
"shopify": "shopify",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user