react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "playground",
  3. "version": "1.0.0",
  4. "private": true,
  5. "scripts": {
  6. "postinstall": "node ./scripts/postinstall.js",
  7. "start": "adb reverse tcp:8081 tcp:8081; watchman watch-del-all; react-native start --reset-cache",
  8. "xcode": "open ios/playground.xcodeproj",
  9. "android": "cd android && ./gradlew installDebug",
  10. "e2e": "node ./scripts/e2e.ios.js"
  11. },
  12. "dependencies": {
  13. "react-native": "0.38.0",
  14. "react": "15.4.1",
  15. "react-native-navigation": "file:../"
  16. },
  17. "devDependencies": {
  18. "detox": "4.x.x",
  19. "detox-server": "1.x.x"
  20. },
  21. "detox": {
  22. "session": {
  23. "server": "ws://localhost:8099",
  24. "sessionId": "playground"
  25. },
  26. "ios-simulator": {
  27. "app": "ios/DerivedData/playground/Build/Products/Debug_Detox-iphonesimulator/playground.app",
  28. "device": "iPhone 7, iOS 10.2"
  29. }
  30. },
  31. "babel": {
  32. "env": {
  33. "test": {
  34. "presets": [
  35. "react-native"
  36. ],
  37. "retainLines": true
  38. }
  39. }
  40. }
  41. }