Skip to content

Commit

Permalink
Make package.json compatible with buildpack
Browse files Browse the repository at this point in the history
`NODE_ENV=production` is required due remix issue remix-run/remix#4081

Once that issue is solved, we should be able to remove the NODE_ENV setting from here.
  • Loading branch information
gmpify authored Apr 28, 2023
1 parent 3bf9c81 commit ae13469
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
"name": "app",
"private": true,
"scripts": {
"build": "shopify app build",
"build": "NODE_ENV=production remix build",
"dev": "shopify app dev",
"push": "shopify app push",
"generate": "shopify app generate",
"deploy": "shopify app deploy",
"env": "shopify app env",
"db:up": "npx prisma db push"
"db:up": "npx prisma db push",
"db:setup": "prisma generate",
"start": "remix-serve build"
},
"dependencies": {
"@prisma/client": "^4.12.0",
Expand Down

0 comments on commit ae13469

Please sign in to comment.