react-native-navigation的迁移库

package.json 997B

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. },
  16. "//": "use react-native-navigation: 2.x.x --> we are manually installing it from a script for quicker workflow",
  17. "devDependencies": {
  18. "detox": "4.x.x",
  19. "detox-server": "1.x.x",
  20. "shell-utils": "1.x.x"
  21. },
  22. "detox": {
  23. "session": {
  24. "server": "ws://localhost:8099",
  25. "sessionId": "playground"
  26. },
  27. "ios-simulator": {
  28. "device": "iPhone 7"
  29. }
  30. },
  31. "babel": {
  32. "env": {
  33. "test": {
  34. "presets": [
  35. "react-native"
  36. ],
  37. "retainLines": true
  38. }
  39. }
  40. }
  41. }