react-native-navigation的迁移库

package.json 5.5KB

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