|
28 | 28 | "validate:eslint": "eslint 'js/**/*.js' 'example/**/*.js'", |
29 | 29 | "validate:flow": "flow check", |
30 | 30 | "test:jest": "jest js/", |
31 | | - "build:e2e:android:debug": "detox build -c android.emu.debug", |
32 | | - "build:e2e:android:release": "detox build -c android.emu.release", |
33 | | - "test:e2e:android:debug": "detox test -c android.emu.debug", |
34 | | - "test:e2e:android:release": "detox test -c android.emu.release", |
35 | | - "build:e2e:ios:debug": "detox build -c ios.sim.debug", |
36 | | - "build:e2e:ios:release": "detox build -c ios.sim.release", |
37 | | - "test:e2e:ios:debug": "detox test -c ios.sim.debug", |
38 | | - "test:e2e:ios:release": "detox test -c ios.sim.release", |
39 | 31 | "prepare": "bob build" |
40 | 32 | }, |
41 | 33 | "repository": { |
|
61 | 53 | "babel-eslint": "^10.0.2", |
62 | 54 | "babel-jest": "^24.9.0", |
63 | 55 | "babel-plugin-module-resolver": "^3.2.0", |
64 | | - "detox": "^14.0.2", |
65 | 56 | "eslint": "^5.16.0", |
66 | 57 | "eslint-config-prettier": "^6.0.0", |
67 | 58 | "eslint-plugin-prettier": "3.0.1", |
|
80 | 71 | "<rootDir>/jest.setup.js" |
81 | 72 | ] |
82 | 73 | }, |
83 | | - "detox": { |
84 | | - "test-runner": "jest", |
85 | | - "runner-config": "example/e2e/config.json", |
86 | | - "configurations": { |
87 | | - "ios.sim.debug": { |
88 | | - "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/GeolocationExample.app", |
89 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/GeolocationExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme GeolocationExample -parallelizeTargets -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k", |
90 | | - "type": "ios.simulator", |
91 | | - "name": "iPhone X" |
92 | | - }, |
93 | | - "ios.sim.release": { |
94 | | - "binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/GeolocationExample.app", |
95 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/GeolocationExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme GeolocationExample -parallelizeTargets -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k", |
96 | | - "type": "ios.simulator", |
97 | | - "name": "iPhone X" |
98 | | - }, |
99 | | - "android.emu.debug": { |
100 | | - "binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk", |
101 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd", |
102 | | - "type": "android.emulator", |
103 | | - "name": "TestingAVD" |
104 | | - }, |
105 | | - "android.emu.release": { |
106 | | - "binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk", |
107 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd", |
108 | | - "type": "android.emulator", |
109 | | - "name": "TestingAVD" |
110 | | - } |
111 | | - }, |
112 | | - "specs": "" |
113 | | - }, |
114 | 74 | "dependencies": {}, |
115 | 75 | "@react-native-community/bob": { |
116 | 76 | "source": "js", |
|
0 commit comments