react-native-navigation的迁移库

package.json 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. "name": "react-native-navigation",
  3. "version": "6.4.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": "node ./scripts/build",
  23. "watch": "node ./scripts/watch",
  24. "xcode": "open playground/ios/playground.xcworkspace",
  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. "pod-install": "pod install --project-directory=playground/ios",
  34. "test-unit-ios": "node ./scripts/test-unit --ios",
  35. "test-snapshot-ios": "node ./scripts/test-snapshot --ios",
  36. "test-unit-android": "node ./scripts/test-unit --android",
  37. "pretest-e2e-android": "npm run build",
  38. "test-e2e-android": "node ./scripts/test-e2e --android",
  39. "test-e2e-android-multi": "npm run test-e2e-android -- --multi",
  40. "pretest-e2e-ios": "npm run build",
  41. "test-e2e-ios": "node ./scripts/test-e2e --ios",
  42. "test-e2e-ios-multi": "npm run test-e2e-ios -- --multi",
  43. "test-all": "node ./scripts/test-all",
  44. "prerelease": "npm run build",
  45. "release": "node ./scripts/release",
  46. "local-docs": "node ./scripts/local-docs",
  47. "gen-docs": "ts-node ./scripts/gen-docs/Main",
  48. "docusaurus": "npm start --prefix website"
  49. },
  50. "peerDependencies": {
  51. "react": "*",
  52. "react-native": "*"
  53. },
  54. "dependencies": {
  55. "hoist-non-react-statics": "3.x.x",
  56. "lodash": "4.17.x",
  57. "prop-types": "15.x.x",
  58. "react-lifecycles-compat": "2.0.0",
  59. "tslib": "1.9.3"
  60. },
  61. "devDependencies": {
  62. "@babel/core": "7.6.4",
  63. "@babel/plugin-proposal-export-default-from": "7.2.0",
  64. "@babel/plugin-proposal-export-namespace-from": "7.2.0",
  65. "@babel/types": "7.6.x",
  66. "@react-native-community/eslint-config": "0.0.3",
  67. "@types/hoist-non-react-statics": "^3.0.1",
  68. "@types/jest": "24.x.x",
  69. "@types/lodash": "^4.14.149",
  70. "@types/react": "16.x.x",
  71. "@types/react-native": "0.61.10",
  72. "@types/react-test-renderer": "16.x.x",
  73. "babel-jest": "24.9.x",
  74. "detox": "14.x.x",
  75. "jest": "24.9.x",
  76. "lodash": "^4.17.15",
  77. "metro-react-native-babel-preset": "0.57.x",
  78. "react": "16.9.0",
  79. "react-native": "0.61.5",
  80. "react-native-keyboard-tracking-view": "5.x.x",
  81. "react-native-typescript-transformer": "1.2.12",
  82. "react-native-ui-lib": "3.24.2",
  83. "react-redux": "5.x.x",
  84. "react-test-renderer": "16.9.x",
  85. "redux": "3.x.x",
  86. "remx": "2.x.x",
  87. "semver": "5.x.x",
  88. "shell-utils": "1.x.x",
  89. "ts-mockito": "^2.3.1",
  90. "ts-node": "5.x.x",
  91. "tslint": "5.x.x",
  92. "typedoc": "0.x.x",
  93. "typescript": "3.2.2",
  94. "identity-obj-proxy": "3.0.0"
  95. },
  96. "jest": {
  97. "preset": "react-native",
  98. "transform": {
  99. "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
  100. },
  101. "roots": [
  102. "<rootDir>/node_modules/",
  103. "<rootDir>/lib/dist/",
  104. "<rootDir>/integration/"
  105. ],
  106. "collectCoverageFrom": [
  107. "lib/dist/**/*.js",
  108. "integration/**/*.js",
  109. "!lib/dist/index.js",
  110. "!lib/dist/Navigation.js",
  111. "!lib/dist/adapters/**/*",
  112. "!lib/dist/interfaces/**/*",
  113. "!lib/dist/**/*.test.*",
  114. "!integration/**/*.test.*",
  115. "!integration/*.test.*"
  116. ],
  117. "resetMocks": true,
  118. "resetModules": true,
  119. "coverageReporters": [
  120. "json",
  121. "lcov",
  122. "text",
  123. "html"
  124. ]
  125. },
  126. "detox": {
  127. "test-runner": "jest",
  128. "specs": "",
  129. "configurations": {
  130. "ios.none": {
  131. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
  132. "type": "ios.none",
  133. "name": "iPhone 11",
  134. "session": {
  135. "server": "ws://localhost:8099",
  136. "sessionId": "playground"
  137. }
  138. },
  139. "ios.sim.debug": {
  140. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
  141. "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -workspace playground/ios/playground.xcworkspace -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
  142. "type": "ios.simulator",
  143. "name": "iPhone 11"
  144. },
  145. "ios.sim.release": {
  146. "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
  147. "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -workspace playground/ios/playground.xcworkspace -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
  148. "type": "ios.simulator",
  149. "name": "iPhone 11"
  150. },
  151. "android.emu.debug": {
  152. "binaryPath": "playground/android/app/build/outputs/apk/debug/app-debug.apk",
  153. "build": "cd playground/android && ./gradlew app:assembleDebug app:assembleAndroidTest -DtestBuildType=debug",
  154. "type": "android.emulator",
  155. "name": "Pixel_API_28"
  156. },
  157. "android.emu.release": {
  158. "binaryPath": "playground/android/app/build/outputs/apk/release/app-release.apk",
  159. "build": "cd playground/android && ./gradlew app:assembleRelease app:assembleAndroidTest -DtestBuildType=release",
  160. "type": "android.emulator",
  161. "name": "Pixel_API_28"
  162. }
  163. }
  164. }
  165. }