No Description

package.json 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "WebTest",
  3. "version": "0.0.1",
  4. "private": true,
  5. "scripts": {
  6. "start": "react-native start",
  7. "test": "detox",
  8. "detox-ios": "detox build --configuration ios.sim.debug && detox test --configuration ios.sim.debug",
  9. "detox-android": "detox build --configuration android.emu.debug && detox test --configuration android.emu.debug",
  10. "detox": "npm run detox-ios && npm run detox-android"
  11. },
  12. "dependencies": {
  13. "react": "16.9.0",
  14. "react-native": "0.61.0-rc.0",
  15. "react-native-webview": "^7.0.2"
  16. },
  17. "devDependencies": {
  18. "@babel/core": "^7.5.5",
  19. "@babel/runtime": "^7.5.5",
  20. "babel-jest": "^24.9.0",
  21. "detox": "^14.0.3",
  22. "jest": "^24.9.0",
  23. "metro-react-native-babel-preset": "^0.56.0"
  24. },
  25. "jest": {
  26. "preset": "react-native"
  27. },
  28. "detox": {
  29. "configurations": {
  30. "ios.sim.debug": {
  31. "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/WebTest.app",
  32. "build": "xcodebuild -workspace ios/WebTest.xcworkspace -scheme WebTest -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
  33. "type": "ios.simulator",
  34. "name": "iPhone X"
  35. },
  36. "android.emu.debug": {
  37. "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
  38. "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
  39. "type": "android.emulator",
  40. "name": "Pixel_2_API_28"
  41. }
  42. },
  43. "test-runner": "jest"
  44. }
  45. }