mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 17:23:25 +00:00
90 lines
2.8 KiB
JSON
90 lines
2.8 KiB
JSON
{
|
|
"testRunner": {
|
|
"args": {
|
|
"$0": "jest",
|
|
"config": "./jest.config.json"
|
|
},
|
|
"jest": {
|
|
"setupTimeout": 120000
|
|
}
|
|
},
|
|
"apps": {
|
|
"ios.debug": {
|
|
"type": "ios.app",
|
|
"build": "cd ../../apps/mobile/ios && xcodebuild -workspace Mobile.xcworkspace -scheme Mobile -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet",
|
|
"binaryPath": "../../apps/mobile/ios/build/Build/Products/Debug-iphonesimulator/Mobile.app"
|
|
},
|
|
"ios.release": {
|
|
"type": "ios.app",
|
|
"build": "cd ../../apps/mobile/ios && xcodebuild -workspace Mobile.xcworkspace -scheme Mobile -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet",
|
|
"binaryPath": "../../apps/mobile/ios/build/Build/Products/Release-iphonesimulator/Mobile.app"
|
|
},
|
|
|
|
"ios.local": {
|
|
"type": "ios.app",
|
|
"build": "pnpm exec nx run mobile:build --platform ios --profile preview --wait --local --no-interactive --output=../../apps/mobile/dist/Mobile.tar.gz",
|
|
"binaryPath": "../../apps/mobile/dist/Mobile.app"
|
|
},
|
|
|
|
"android.debug": {
|
|
"type": "android.apk",
|
|
"build": "cd ../../apps/mobile/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug",
|
|
"binaryPath": "../../apps/mobile/android/app/build/outputs/apk/debug/app-debug.apk"
|
|
},
|
|
"android.release": {
|
|
"type": "android.apk",
|
|
"build": "cd ../../apps/mobile/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release",
|
|
"binaryPath": "../../apps/mobile/android/app/build/outputs/apk/release/app-release.apk"
|
|
},
|
|
|
|
"android.local": {
|
|
"type": "android.apk",
|
|
"build": "pnpm exec nx run mobile:build --platform android --profile preview --wait --local --no-interactive --output=../../apps/mobile/dist/Mobile.apk",
|
|
"binaryPath": "../../apps/mobile/dist/Mobile.apk"
|
|
}
|
|
},
|
|
"devices": {
|
|
"simulator": {
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone 14"
|
|
}
|
|
},
|
|
"emulator": {
|
|
"type": "android.emulator",
|
|
"device": {
|
|
"avdName": "Pixel_4a_API_30"
|
|
}
|
|
}
|
|
},
|
|
"configurations": {
|
|
"ios.sim.release": {
|
|
"device": "simulator",
|
|
"app": "ios.release"
|
|
},
|
|
"ios.sim.debug": {
|
|
"device": "simulator",
|
|
"app": "ios.debug"
|
|
},
|
|
|
|
"ios.sim.local": {
|
|
"device": "simulator",
|
|
"app": "ios.local"
|
|
},
|
|
|
|
"android.emu.release": {
|
|
"device": "emulator",
|
|
"app": "android.release"
|
|
},
|
|
"android.emu.debug": {
|
|
"device": "emulator",
|
|
"app": "android.debug"
|
|
},
|
|
|
|
"android.emu.local": {
|
|
"device": "emulator",
|
|
"app": "android.local"
|
|
}
|
|
}
|
|
}
|