react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {
  2. "name": "react-native-navigation",
  3. "version": "2.12.0",
  4. "description": "React Native Navigation - truly native navigation for iOS and Android",
  5. "license": "MIT",
  6. "nativePackage": true,
  7. "author": "Daniel Zlotin <zlotindaniel@gmail.com>",
  8. "contributors": [
  9. "Tal Kol <talkol@gmail.com>",
  10. "Guy Carmeli <guyc@wix.com>",
  11. "Ran Greenberg <rang@wix.com>",
  12. "Artal Druk <artald@wix.com>"
  13. ],
  14. "publishConfig": {
  15. "registry": "https://registry.npmjs.org/"
  16. },
  17. "bugs": {
  18. "url": "https://github.com/wix/react-native-navigation/issues"
  19. },
  20. "homepage": "https://github.com/wix/react-native-navigation",
  21. "readme": "https://github.com/wix/react-native-navigation#readme",
  22. "repository": {
  23. "type": "git",
  24. "url": "https://github.com/wix/react-native-navigation.git"
  25. },
  26. "main": "lib/dist/index.js",
  27. "typings": "lib/dist/index.d.ts",
  28. "scripts": {
  29. "build": "rm -rf ./lib/dist && tsc",
  30. "xcode": "open playground/ios/playground.xcodeproj",
  31. "install-android": "node ./scripts/install-android",
  32. "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
  33. "clean": "node ./scripts/clean",
  34. "prestart": "npm run build",
  35. "start": "node ./scripts/start",
  36. "pretest-js": "npm run build",
  37. "test-js": "node ./scripts/test-js",
  38. "test-unit-ios": "node ./scripts/test-unit --ios",
  39. "test-unit-android": "node ./scripts/test-unit --android",
  40. "pretest-e2e-android": "npm run build",
  41. "test-e2e-android": "node ./scripts/test-e2e --android",
  42. "pretest-e2e-ios": "npm run build",
  43. "test-e2e-ios": "node ./scripts/test-e2e --ios",
  44. "test-e2e-ios-multi": "npm run test-e2e-ios -- --multi",
  45. "test-all": "node ./scripts/test-all",
  46. "prerelease": "npm run build",
  47. "release": "node ./scripts/release",
  48. "local-docs": "node ./scripts/local-docs",
  49. "gen-docs": "ts-node ./scripts/gen-docs/Main"
  50. },
  51. "peerDependencies": {
  52. "react": "*",
  53. "react-native": "*"
  54. },
  55. "dependencies": {
  56. "hoist-non-react-statics": "3.x.x",
  57. "lodash": "4.17.x",
  58. "prop-types": "15.x.x",
  59. "react-lifecycles-compat": "2.0.0",
  60. "tslib": "1.9.3"
  61. },
  62. "devDependencies": {
  63. "@types/hoist-non-react-statics": "^3.0.1",
  64. "@types/jest": "23.x.x",
  65. "@types/lodash": "4.x.x",
  66. "@types/react": "16.x.x",
  67. "@types/react-native": "0.57.7",
  68. "@types/react-test-renderer": "16.x.x",
  69. "jsc-android": "236355.x.x",
  70. "detox": "9.0.6",
  71. "handlebars": "4.x.x",
  72. "jest": "23.x.x",
  73. "metro-react-native-babel-preset": "0.50.0",
  74. "react": "16.6.1",
  75. "react-native": "0.57.7",
  76. "react-native-typescript-transformer": "^1.2.10",
  77. "react-native-view-overflow": "0.0.3",
  78. "react-redux": "5.x.x",
  79. "react-test-renderer": "16.6.1",
  80. "redux": "3.x.x",
  81. "remx": "2.x.x",
  82. "semver": "5.x.x",
  83. "shell-utils": "1.x.x",
  84. "ts-mockito": "^2.3.1",
  85. "ts-node": "5.x.x",
  86. "tslint": "5.x.x",
  87. "typedoc": "0.x.x",
  88. "typescript": "3.2.2"
  89. },
  90. "jest": {
  91. "preset": "react-native",
  92. "transform": {
  93. "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
  94. },
  95. "roots": [
  96. "<rootDir>/node_modules/",
  97. "<rootDir>/lib/dist/",
  98. "<rootDir>/integration/"
  99. ],
  100. "collectCoverageFrom": [
  101. "lib/dist/**/*.js",
  102. "integration/**/*.js",
  103. "!lib/dist/index.js",
  104. "!lib/dist/Navigation.js",
  105. "!lib/dist/adapters/**/*",
  106. "!lib/dist/interfaces/**/*",
  107. "!lib/dist/**/*.test.*",
  108. "!integration/**/*.test.*",
  109. "!integration/*.test.*"
  110. ],
  111. "resetMocks": true,
  112. "resetModules": true,
  113. "coverageReporters": [
  114. "json",
  115. "lcov",
  116. "text",
  117. "html"
  118. ]
  119. },
  120. "detox": {
  121. "test-runner": "jest",
  122. "specs": "e2e",
  123. "configurations": {
  124. "ios.none": {
  125. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
  126. "type": "ios.none",
  127. "name": "iPhone X",
  128. "session": {
  129. "server": "ws://localhost:8099",
  130. "sessionId": "playground"
  131. }
  132. },
  133. "ios.sim.debug": {
  134. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
  135. "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
  136. "type": "ios.simulator",
  137. "name": "iPhone X"
  138. },
  139. "ios.sim.release": {
  140. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
  141. "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
  142. "type": "ios.simulator",
  143. "name": "iPhone X"
  144. },
  145. "android.emu.debug": {
  146. "binaryPath": "playground/android/app/build/outputs/apk/debug/app-debug.apk",
  147. "build": "cd playground/android && ./gradlew app:assembleDebug app:assembleAndroidTest -DtestBuildType=debug",
  148. "type": "android.emulator",
  149. "name": "Pixel_2_API_26"
  150. },
  151. "android.emu.release": {
  152. "binaryPath": "playground/android/app/build/outputs/apk/release/app-release.apk",
  153. "build": "cd playground/android && ./gradlew app:assembleRelease app:assembleAndroidTest -DtestBuildType=release",
  154. "type": "android.emulator",
  155. "name": "Pixel_2_API_26"
  156. }
  157. }
  158. }
  159. }