Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Refactor build:all and build:dev scripts (#898)

Thomas Kaul904d4db2191e
diff --git a/package.json b/package.json
index a38eb5265c..94751a0a86 100644
--- a/package.json
+++ b/package.json
@@ -13,8 +13,8 @@
"affected:lint": "nx affected:lint",
"affected:test": "nx affected:test",
"angular": "node --max_old_space_size=32768 ./node_modules/@angular/cli/bin/ng",
- "build:all": "ng build --configuration production api && ng build --configuration production client && yarn replace-placeholders-in-build",
- "build:dev": "nx build api && nx build client && yarn replace-placeholders-in-build",
+ "build:all": "nx run api:build:production && nx run client:build:production && yarn replace-placeholders-in-build",
+ "build:dev": "nx run api:build && nx run client:build && yarn replace-placeholders-in-build",
"build:storybook": "nx run ui:build-storybook",
"clean": "rimraf dist",
"database:format-schema": "prisma format",