2
0

🔧 Add cross env compatibility to scripts (#184)

This commit is contained in:
Jorgelig
2022-12-18 04:29:01 -06:00
committed by GitHub
parent 6c55510d80
commit 2cc61b1bf1
6 changed files with 523 additions and 413 deletions

View File

@ -2,10 +2,10 @@
"name": "landing-page",
"version": "1.0.0",
"scripts": {
"dev": "ENVSH_ENV=.env.local bash ../../env.sh next dev -p 3002",
"dev": "cross-env ENVSH_ENV=.env.local bash ../../env.sh next dev -p 3002",
"start": "next start",
"build": "next build",
"build:env": "cd ../.. && ENVSH_ENV=./apps/landing-page/.env.docker ENVSH_OUTPUT=./apps/landing-page/public/__env.js bash env.sh",
"build:env": "cd ../.. && cross-env ENVSH_ENV=./apps/landing-page/.env.docker ENVSH_OUTPUT=./apps/landing-page/public/__env.js bash env.sh",
"lint": "next lint",
"analyze": "cross-env ANALYZE=true next build"
},