From 6f6acb9084446cf1f453f21f1e7fadb7b6b2769e Mon Sep 17 00:00:00 2001 From: bitlab-code Date: Fri, 30 Oct 2020 01:09:49 +0100 Subject: [PATCH] removed detox --- package.json | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/package.json b/package.json index f2ad8cf5..d7748888 100644 --- a/package.json +++ b/package.json @@ -29,15 +29,6 @@ "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"", "validate:typescript": "tsc --project ./ --noEmit", "test:jest": "jest \"/src/\"", - "test:detox:android:test:debug": "detox test -c android.emu.debug", - "test:detox:android:test:release": "detox test -c android.emu.release", - "test:detox:android:build:debug": "detox build -c android.emu.debug", - "test:detox:android:build:release": "detox build -c android.emu.release", - "test:detox:ios:test:debug": "detox test -c ios.sim.debug", - "test:detox:ios:test:release": "detox test -c ios.sim.release", - "test:detox:ios:build:debug": "detox build -c ios.sim.debug", - "test:detox:ios:build:release": "detox build -c ios.sim.release", - "test:detox:clean": "rimraf example/android/build && rimraf example/android/app/build && rimraf example/android/.gradle && rimraf example/ios/build", "ci:publish": "yarn semantic-release", "semantic-release": "semantic-release", "prepare": "bob build" @@ -65,7 +56,6 @@ "@typescript-eslint/eslint-plugin": "^1.7.0", "@typescript-eslint/parser": "^1.7.0", "babel-jest": "^24.7.1", - "detox": "^12.8.0", "eslint": "5.16.0", "eslint-config-prettier": "^4.2.0", "eslint-plugin-prettier": "3.0.1", @@ -82,36 +72,6 @@ "ts-jest": "^24.0.2", "typescript": "^3.4.1" }, - "detox": { - "test-runner": "jest", - "runner-config": "example/e2e/config.json", - "configurations": { - "ios.sim.debug": { - "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/NetInfoExample.app", - "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", - "type": "ios.simulator", - "name": "iPhone X" - }, - "ios.sim.release": { - "binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/NetInfoExample.app", - "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", - "type": "ios.simulator", - "name": "iPhone X" - }, - "android.emu.debug": { - "binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk", - "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd", - "type": "android.emulator", - "name": "TestingAVD" - }, - "android.emu.release": { - "binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk", - "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd", - "type": "android.emulator", - "name": "TestingAVD" - } - } - }, "repository": { "type": "git", "url": "https://github.com/react-native-community/react-native-netinfo.git"