From 1c6b3bc2045aa0816e8fdbf0d788e76814bc6865 Mon Sep 17 00:00:00 2001 From: Povilas Zirgulis Date: Mon, 10 Feb 2025 17:01:04 +0200 Subject: [PATCH] update build commands --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 17ff7b338520..40ede7daa43f 100644 --- a/package.json +++ b/package.json @@ -15,16 +15,16 @@ "postinstall": "./scripts/postInstall.sh", "clean": "./scripts/clean.sh", "clean-standalone": "STANDALONE_NEW_DOT=true ./scripts/clean.sh", - "android": "./scripts/set-pusher-suffix.sh && ./scripts/run-build.sh --android", - "android-standalone": "./scripts/set-pusher-suffix.sh && STANDALONE_NEW_DOT=true ./scripts/run-build.sh --android", - "ios": "./scripts/set-pusher-suffix.sh && ./scripts/run-build.sh --ios", - "ios-standalone": "./scripts/set-pusher-suffix.sh && STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ios", + "android": "./scripts/set-pusher-suffix.sh && concurrently \"npx react-native webpack-start --reset-cache\" \"wait-port 8081 && ./scripts/run-build.sh --android\"", + "android-standalone": "./scripts/set-pusher-suffix.sh && concurrently \"npx react-native webpack-start --reset-cache\" \"wait-port 8081 && STANDALONE_NEW_DOT=true ./scripts/run-build.sh --android\"", + "ios": "./scripts/set-pusher-suffix.sh && (npx react-native webpack-start & ./scripts/run-build.sh --ios)", + "ios-standalone": "./scripts/set-pusher-suffix.sh && (npx react-native webpack-start & STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ios)", "pod-install": "./scripts/pod-install.sh", "pod-install-standalone": "STANDALONE_NEW_DOT=true ./scripts/pod-install.sh", - "ipad": "concurrently \"./scripts/run-build.sh --ipad\"", - "ipad-standalone": "concurrently \"STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ipad\"", - "ipad-sm": "concurrently \"./scripts/run-build.sh --ipad-sm\"", - "ipad-sm-standalone": "concurrently \"STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ipad-sm\"", + "ipad": "(npx react-native webpack-start & ./scripts/run-build.sh --ipad)", + "ipad-standalone": "(npx react-native webpack-start & STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ipad)", + "ipad-sm": "(npx react-native webpack-start & ./scripts/run-build.sh --ipad-sm)", + "ipad-sm-standalone": "(npx react-native webpack-start & STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ipad-sm)", "start": "npx react-native start", "web": "./scripts/set-pusher-suffix.sh && concurrently npm:web-proxy npm:web-server", "web-proxy": "ts-node web/proxy.ts",