From e11ed7c133b4f5498e4e62fbff519379e5572400 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Sat, 7 Jun 2025 23:30:28 -0700 Subject: [PATCH] build: Add additional helpful build scripts --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8723186..6132bba 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,13 @@ "version": "1.1.5", "private": true, "scripts": { - "android": "react-native run-android", - "ios": "react-native run-ios", + "env": "dotenv -e ./fastlane/.env", + "android": "npm run env react-native run-android", + "android:release": "npm run env react-native run-android --mode=release", + "ios": "npm run env react-native run-ios", + "ios:release": "npm run env react-native run-ios --mode Release", "pods": "cd ios && pod install", + "icons": "npx react-native-svg-app-icon", "splash": "react-native-bootsplash generate splash.svg --platforms=android,ios --background=000000 --logo-width=100 --flavor=main && rm -rf assets", "lint": "eslint .", "start": "react-native start", -- 2.51.2