{
  "name": "E2ETests",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "clean": "rimraf dist && rimraf android/build && rimraf android/app/build && rimraf android/.gradle && rimraf ios/build",
    "prepare": "rimraf node_modules/react-native-virgil-crypto/examples && rimraf node_modules/react-native-virgil-crypto/E2ETests && rimraf node_modules/react-native-virgil-crypto/node_modules/react-native"
  },
  "dependencies": {
    "chai": "^4.2.0",
    "react": "16.8.1",
    "react-native": "0.62.3",
    "react-native-virgil-crypto": "../"
  },
  "devDependencies": {
    "@babel/core": "^7.5.0",
    "@babel/runtime": "^7.5.0",
    "@react-native-community/eslint-config": "^0.0.3",
    "detox": "^14.4.1",
    "metro-react-native-babel-preset": "^0.51.1",
    "mocha": "^6.2.1",
    "rimraf": "^3.0.0"
  },
  "detox": {
    "test-runner": "mocha",
    "specs": "e2e",
    "runner-config": "e2e/mocha.opts",
    "configurations": {
      "ios.sim.debug": {
        "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/E2ETests.app",
        "build": "xcodebuild -workspace ios/E2ETests.xcworkspace -scheme E2ETests -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -quiet",
        "type": "ios.simulator",
        "name": "iPhone 11"
      },
      "ios.sim.release": {
        "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/E2ETests.app",
        "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/E2ETests.xcworkspace -scheme E2ETests -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -quiet",
        "type": "ios.simulator",
        "name": "iPhone 11"
      },
      "android.emu.debug": {
        "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
        "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
        "type": "android.emulator",
        "name": "Pixel_2_API_28"
      },
      "android.emu.release": {
        "binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
        "build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
        "type": "android.emulator",
        "name": "Pixel_2_API_28"
      }
    }
  }
}
