react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "react-native-navigation",
  3. "version": "2.0.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/src/index.js",
  27. "scripts": {
  28. "build": ":",
  29. "xcode": "open playground/ios/playground.xcodeproj",
  30. "install-android": "cd playground/android && ./gradlew installDebug",
  31. "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
  32. "start": "adb reverse tcp:8081 tcp:8081; watchman watch-del-all; node ./node_modules/react-native/local-cli/cli.js start --root=./playground",
  33. "test-js": "eslint lib/src integration e2e scripts playground/src && BABEL_ENV=test jest --coverage",
  34. "test-unit-android": "node ./scripts/test.unit.android.js",
  35. "test-unit-ios": "node ./scripts/test.unit.ios.js",
  36. "test-e2e-android": "node ./scripts/test.e2e.android.js",
  37. "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
  38. "test": "yarn run test-js && yarn run test-unit-android && yarn run test-e2e-android && yarn run test-unit-ios && yarn run test-e2e-ios",
  39. "test-watch": "BABEL_ENV=test jest --coverage --watch",
  40. "release": "node ./scripts/release.js"
  41. },
  42. "peerDependencies": {
  43. "react-native": "*",
  44. "react": "*"
  45. },
  46. "dependencies": {
  47. "lodash": "4.x.x"
  48. },
  49. "devDependencies": {
  50. "react-native": "0.41.2",
  51. "react": "15.4.2",
  52. "react-test-renderer": "15.4.2",
  53. "babel-cli": "6.x.x",
  54. "babel-core": "6.x.x",
  55. "babel-polyfill": "6.x.x",
  56. "babel-preset-react-native": "1.x.x",
  57. "babel-register": "6.x.x",
  58. "babel-jest": "18.x.x",
  59. "eslint": "3.x.x",
  60. "eslint-plugin-babel": "4.x.x",
  61. "eslint-plugin-react": "6.x.x",
  62. "eslint-plugin-react-native": "2.x.x",
  63. "jest": "18.x.x",
  64. "jest-cli": "18.x.x",
  65. "remx": "1.x.x",
  66. "semver": "5.x.x",
  67. "detox": "5.x.x",
  68. "mocha": "3.x.x",
  69. "shell-utils": "1.x.x"
  70. },
  71. "babel": {
  72. "env": {
  73. "test": {
  74. "presets": [
  75. "react-native"
  76. ],
  77. "retainLines": true
  78. }
  79. }
  80. },
  81. "jest": {
  82. "preset": "react-native",
  83. "testPathDirs": [
  84. "<rootDir>/node_modules/",
  85. "<rootDir>/lib/src/",
  86. "<rootDir>/integration/"
  87. ],
  88. "resetMocks": true,
  89. "resetModules": true,
  90. "coverageThreshold": {
  91. "global": {
  92. "branches": 100,
  93. "functions": 100,
  94. "lines": 100,
  95. "statements": 100
  96. }
  97. }
  98. }
  99. }