|
29 | 29 | "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"", |
30 | 30 | "validate:typescript": "tsc --project ./ --noEmit", |
31 | 31 | "test:jest": "jest \"/src/\"", |
32 | | - "test:detox:android:test:debug": "detox test -c android.emu.debug", |
33 | | - "test:detox:android:test:release": "detox test -c android.emu.release", |
34 | | - "test:detox:android:build:debug": "detox build -c android.emu.debug", |
35 | | - "test:detox:android:build:release": "detox build -c android.emu.release", |
36 | | - "test:detox:ios:test:debug": "detox test -c ios.sim.debug", |
37 | | - "test:detox:ios:test:release": "detox test -c ios.sim.release", |
38 | | - "test:detox:ios:build:debug": "detox build -c ios.sim.debug", |
39 | | - "test:detox:ios:build:release": "detox build -c ios.sim.release", |
40 | | - "test:detox:clean": "rimraf example/android/build && rimraf example/android/app/build && rimraf example/android/.gradle && rimraf example/ios/build", |
41 | 32 | "ci:publish": "yarn semantic-release", |
42 | 33 | "semantic-release": "semantic-release", |
43 | 34 | "prepare": "bob build" |
|
65 | 56 | "@typescript-eslint/eslint-plugin": "^1.7.0", |
66 | 57 | "@typescript-eslint/parser": "^1.7.0", |
67 | 58 | "babel-jest": "^24.7.1", |
68 | | - "detox": "^12.8.0", |
69 | 59 | "eslint": "5.16.0", |
70 | 60 | "eslint-config-prettier": "^4.2.0", |
71 | 61 | "eslint-plugin-prettier": "3.0.1", |
|
82 | 72 | "ts-jest": "^24.0.2", |
83 | 73 | "typescript": "^3.4.1" |
84 | 74 | }, |
85 | | - "detox": { |
86 | | - "test-runner": "jest", |
87 | | - "runner-config": "example/e2e/config.json", |
88 | | - "configurations": { |
89 | | - "ios.sim.debug": { |
90 | | - "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/NetInfoExample.app", |
91 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/NetInfoExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme NetInfoExample -parallelizeTargets -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k", |
92 | | - "type": "ios.simulator", |
93 | | - "name": "iPhone X" |
94 | | - }, |
95 | | - "ios.sim.release": { |
96 | | - "binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/NetInfoExample.app", |
97 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/NetInfoExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme NetInfoExample -parallelizeTargets -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k", |
98 | | - "type": "ios.simulator", |
99 | | - "name": "iPhone X" |
100 | | - }, |
101 | | - "android.emu.debug": { |
102 | | - "binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk", |
103 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd", |
104 | | - "type": "android.emulator", |
105 | | - "name": "TestingAVD" |
106 | | - }, |
107 | | - "android.emu.release": { |
108 | | - "binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk", |
109 | | - "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd", |
110 | | - "type": "android.emulator", |
111 | | - "name": "TestingAVD" |
112 | | - } |
113 | | - } |
114 | | - }, |
115 | 75 | "repository": { |
116 | 76 | "type": "git", |
117 | 77 | "url": "https://github.com/react-native-community/react-native-netinfo.git" |
|
0 commit comments