react-native-navigation的迁移库

package.json 5.9KB

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