1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-01 13:47:27 +02:00

Run build script sequentially

This commit is contained in:
Christopher Kolstad 2024-06-12 12:49:18 +02:00
parent 5106c6a22a
commit 9d11e3669e
No known key found for this signature in database
GPG Key ID: D9041DC670F032F3

View File

@ -14,7 +14,6 @@
"dist",
"docs",
"frontend/build",
"frontend/build/static",
"frontend/build/*",
"frontend/index.js",
"frontend/package.json"
@ -38,7 +37,7 @@
"build:backend": "tsc --pretty --strictNullChecks false",
"build:frontend": "yarn --cwd ./frontend run build",
"build:frontend:if-needed": "./scripts/build-frontend-if-needed.sh",
"build": "yarn copy-templates & yarn build:frontend & yarn build:backend",
"build": "yarn copy-templates; yarn build:frontend; yarn build:backend",
"dev:backend": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"dev:frontend": "wait-on tcp:4242 && yarn --cwd ./frontend run dev",
"dev": "concurrently \"yarn:dev:backend\" \"yarn:dev:frontend\"",