react-native-navigation的迁移库

package.json 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. "name": "react-native-navigation",
  3. "version": "3.7.0",
  4. "description": "React Native Navigation - truly native navigation for iOS and Android",
  5. "license": "MIT",
  6. "nativePackage": true,
  7. "publishConfig": {
  8. "registry": "https://registry.npmjs.org/"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/wix/react-native-navigation/issues"
  12. },
  13. "homepage": "https://github.com/wix/react-native-navigation",
  14. "readme": "https://github.com/wix/react-native-navigation#readme",
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/wix/react-native-navigation.git"
  18. },
  19. "main": "lib/dist/index.js",
  20. "typings": "lib/dist/index.d.ts",
  21. "scripts": {
  22. "build": "rm -rf ./lib/dist && tsc",
  23. "watch": "rm -rf ./lib/dist && tsc --watch",
  24. "xcode": "open playground/ios/playground.xcodeproj",
  25. "install-android": "node ./scripts/install-android",
  26. "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
  27. "clean": "node ./scripts/clean",
  28. "prestart": "npm run build",
  29. "start": "node ./scripts/start",
  30. "start-windows": "node ./scripts/start-windows",
  31. "pretest-js": "npm run build",
  32. "test-js": "node ./scripts/test-js",
  33. "test-unit-ios": "node ./scripts/test-unit --ios",
  34. "test-unit-android": "node ./scripts/test-unit --android",
  35. "pretest-e2e-android": "npm run build",
  36. "test-e2e-android": "node ./scripts/test-e2e --android",
  37. "test-e2e-android-locked": "node ./scripts/test-e2e-android-locked",
  38. "pretest-e2e-ios": "npm run build",
  39. "test-e2e-ios": "node ./scripts/test-e2e --ios",
  40. "test-e2e-ios-multi": "npm run test-e2e-ios -- --multi",
  41. "test-all": "node ./scripts/test-all",
  42. "prerelease": "npm run build",
  43. "release": "node ./scripts/release",
  44. "local-docs": "node ./scripts/local-docs",
  45. "gen-docs": "ts-node ./scripts/gen-docs/Main"
  46. },
  47. "peerDependencies": {
  48. "react": "*",
  49. "react-native": "*"
  50. },
  51. "dependencies": {
  52. "hoist-non-react-statics": "3.x.x",
  53. "lodash": "4.17.x",
  54. "prop-types": "15.x.x",
  55. "react-lifecycles-compat": "2.0.0",
  56. "tslib": "1.9.3"
  57. },
  58. "devDependencies": {
  59. "@babel/core": "7.6.4",
  60. "@babel/types": "7.6.x",
  61. "@babel/plugin-proposal-export-default-from": "7.2.0",
  62. "@babel/plugin-proposal-export-namespace-from": "7.2.0",
  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. "detox": "14.x.x",
  70. "react-native-ui-lib": "3.24.2",
  71. "handlebars": "4.x.x",
  72. "jest": "24.0.0-alpha.6",
  73. "metro-react-native-babel-preset": "0.52.x",
  74. "react": "16.8.6",
  75. "react-native": "0.60.0",
  76. "react-native-typescript-transformer": "1.2.12",
  77. "react-native-view-overflow": "0.0.4",
  78. "react-native-keyboard-tracking-view": "5.x.x",
  79. "react-redux": "5.x.x",
  80. "react-test-renderer": "16.6.1",
  81. "redux": "3.x.x",
  82. "remx": "2.x.x",
  83. "semver": "5.x.x",
  84. "shell-utils": "1.x.x",
  85. "ts-mockito": "^2.3.1",
  86. "ts-node": "5.x.x",
  87. "tslint": "5.x.x",
  88. "typedoc": "0.x.x",
  89. "typescript": "3.2.2"
  90. },
  91. "jest": {
  92. "preset": "react-native",
  93. "transform": {
  94. "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
  95. },
  96. "roots": [
  97. "<rootDir>/node_modules/",
  98. "<rootDir>/lib/dist/",
  99. "<rootDir>/integration/"
  100. ],
  101. "collectCoverageFrom": [
  102. "lib/dist/**/*.js",
  103. "integration/**/*.js",
  104. "!lib/dist/index.js",
  105. "!lib/dist/Navigation.js",
  106. "!lib/dist/adapters/**/*",
  107. "!lib/dist/interfaces/**/*",
  108. "!lib/dist/**/*.test.*",
  109. "!integration/**/*.test.*",
  110. "!integration/*.test.*"
  111. ],
  112. "resetMocks": true,
  113. "resetModules": true,
  114. "coverageReporters": [
  115. "json",
  116. "lcov",
  117. "text",
  118. "html"
  119. ]
  120. },
  121. "detox": {
  122. "test-runner": "jest",
  123. "specs": "",
  124. "configurations": {
  125. "ios.none": {
  126. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
  127. "type": "ios.none",
  128. "name": "iPhone 11",
  129. "session": {
  130. "server": "ws://localhost:8099",
  131. "sessionId": "playground"
  132. }
  133. },
  134. "ios.sim.debug": {
  135. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
  136. "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 -UseModernBuildSystem=NO",
  137. "type": "ios.simulator",
  138. "name": "iPhone 11"
  139. },
  140. "ios.sim.release": {
  141. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
  142. "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 -UseModernBuildSystem=NO",
  143. "type": "ios.simulator",
  144. "name": "iPhone 11"
  145. },
  146. "android.emu.debug": {
  147. "binaryPath": "playground/android/app/build/outputs/apk/debug/app-debug.apk",
  148. "build": "cd playground/android && ./gradlew app:assembleDebug app:assembleAndroidTest -DtestBuildType=debug",
  149. "type": "android.emulator",
  150. "name": "Pixel_2_API_26"
  151. },
  152. "android.emu.release": {
  153. "binaryPath": "playground/android/app/build/outputs/apk/release/app-release.apk",
  154. "build": "cd playground/android && ./gradlew app:assembleRelease app:assembleAndroidTest -DtestBuildType=release",
  155. "type": "android.emulator",
  156. "name": "Pixel_2_API_26"
  157. },
  158. "android.emu.debug.locked": {
  159. "binaryPath": "playground/android/app/build/outputs/apk/debug/app-debug.apk",
  160. "build": "cd playground/android && ./gradlew app:assembleDebug app:assembleAndroidTest -DtestBuildType=debug",
  161. "type": "android.emulator",
  162. "name": "Nexus_5X_API_23"
  163. },
  164. "android.emu.release.locked": {
  165. "binaryPath": "playground/android/app/build/outputs/apk/release/app-release.apk",
  166. "build": "cd playground/android && ./gradlew app:assembleRelease app:assembleAndroidTest -DtestBuildType=release",
  167. "type": "android.emulator",
  168. "name": "Nexus_5X_API_23"
  169. }
  170. }
  171. }
  172. }