feat: update build and submission scripts for Android and iOS in package.json

This commit is contained in:
Nawaz Dhandala
2026-02-24 14:40:05 +00:00
parent 62cd8656d4
commit 09e13c5203

View File

@@ -9,14 +9,15 @@
"web": "expo start --web",
"compile": "tsc --noEmit",
"prebuild": "npx expo prebuild --clean",
"android:build-release": "cd android && ./gradlew bundleRelease",
"android:build-apk": "cd android && ./gradlew assembleRelease",
"android:build": "npm run prebuild && npm run android:build-release",
"android:build": "npx eas-cli build --platform android --profile production",
"android:build-local": "npm run prebuild && cd android && ./gradlew bundleRelease",
"android:build-apk": "npm run prebuild && cd android && ./gradlew assembleRelease",
"android:submit": "npx eas-cli submit --platform android --profile production",
"ios:build-release": "cd ios && xcodebuild -workspace OneUptimeOnCall.xcworkspace -scheme OneUptimeOnCall -configuration Release -sdk iphoneos -archivePath build/OneUptimeOnCall.xcarchive archive",
"ios:export-ipa": "cd ios && xcodebuild -exportArchive -archivePath build/OneUptimeOnCall.xcarchive -exportPath build/output -exportOptionsPlist exportOptions.plist",
"ios:build": "npm run prebuild && cd ios && pod install && npm run ios:build-release && npm run ios:export-ipa",
"ios:submit": "npx eas-cli submit --platform ios --profile production"
"ios:build": "npx eas-cli build --platform ios --profile production",
"ios:build-local": "npm run prebuild && cd ios && pod install && xcodebuild -workspace OneUptimeOnCall.xcworkspace -scheme OneUptimeOnCall -configuration Release -sdk iphoneos -archivePath build/OneUptimeOnCall.xcarchive archive && xcodebuild -exportArchive -archivePath build/OneUptimeOnCall.xcarchive -exportPath build/output -exportOptionsPlist exportOptions.plist",
"ios:submit": "npx eas-cli submit --platform ios --profile production",
"build": "npx eas-cli build --platform all --profile production",
"submit": "npx eas-cli submit --platform all --profile production"
},
"dependencies": {
"@expo/vector-icons": "^15.0.3",