48 lines
1.7 KiB
JSON
Executable File
48 lines
1.7 KiB
JSON
Executable File
{
|
|
"name": "example",
|
|
"version": "7.2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "react-native start"
|
|
},
|
|
"dependencies": {
|
|
"react": "16.0.0-beta.5",
|
|
"react-native": "0.49.3"
|
|
},
|
|
"devDependencies": {
|
|
"detox": "^7.2.0",
|
|
"mocha": "^4.0.1"
|
|
},
|
|
"detox": {
|
|
"test-runner": "mocha",
|
|
"specs": "e2e",
|
|
"runner-config": "e2e/mocha.opts",
|
|
"configurations": {
|
|
"ios.sim.release": {
|
|
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/example.app",
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone 7 Plus"
|
|
},
|
|
"ios.sim.debug": {
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/example.app",
|
|
"build": "xcodebuild -project ios/example.xcodeproj -scheme example -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone 7 Plus"
|
|
},
|
|
"android.emu.debug": {
|
|
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
|
|
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
|
|
"type": "android.emulator",
|
|
"name": "Nexus_5X_API_24_-_GPlay"
|
|
},
|
|
"android.emu.release": {
|
|
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
|
|
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
|
|
"type": "android.emulator",
|
|
"name": "Nexus_5X_API_24_-_GPlay"
|
|
}
|
|
}
|
|
}
|
|
}
|