react-native-navigation的迁移库

package.json 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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": "node ./scripts/install-android.js",
  31. "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
  32. "clean": "node ./scripts/clean.js",
  33. "start": "node ./scripts/start.js",
  34. "test-js": "node ./scripts/test-js.js",
  35. "test-unit-android": "node ./scripts/test.unit.android.js",
  36. "test-unit-ios": "node ./scripts/test.unit.ios.js",
  37. "test-e2e-android": "node ./scripts/test.e2e.android.js",
  38. "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
  39. "test-all": "node ./scripts/test.all.js",
  40. "test-watch": "BABEL_ENV=test jest --coverage --watch",
  41. "release": "node ./scripts/release.js"
  42. },
  43. "peerDependencies": {
  44. "react": "*",
  45. "react-native": "*"
  46. },
  47. "dependencies": {
  48. "lodash": "4.x.x"
  49. },
  50. "devDependencies": {
  51. "babel-cli": "6.x.x",
  52. "babel-core": "6.x.x",
  53. "babel-eslint": "7.x.x",
  54. "babel-jest": "20.x.x",
  55. "babel-polyfill": "6.x.x",
  56. "babel-preset-react-native": "2.x.x",
  57. "babel-register": "6.x.x",
  58. "detox": "5.x.x",
  59. "eslint": "4.x.x",
  60. "eslint-plugin-babel": "4.x.x",
  61. "eslint-plugin-react": "7.x.x",
  62. "eslint-plugin-react-native": "2.x.x",
  63. "jest": "20.x.x",
  64. "jest-cli": "20.x.x",
  65. "mocha": "3.x.x",
  66. "react": "16.0.0-alpha.6",
  67. "react-native": "0.44.0",
  68. "react-test-renderer": "16.0.0-alpha.6",
  69. "remx": "1.x.x",
  70. "semver": "5.x.x",
  71. "shell-utils": "1.x.x"
  72. },
  73. "babel": {
  74. "env": {
  75. "test": {
  76. "presets": [
  77. "react-native"
  78. ],
  79. "retainLines": true
  80. }
  81. }
  82. },
  83. "jest": {
  84. "preset": "react-native",
  85. "roots": [
  86. "<rootDir>/node_modules/",
  87. "<rootDir>/lib/src/",
  88. "<rootDir>/integration/"
  89. ],
  90. "collectCoverageFrom": [
  91. "lib/src/**/*.js",
  92. "integration/**/*.js",
  93. "!lib/src/index.js",
  94. "!lib/src/Navigation.js",
  95. "!lib/src/adapters/**/*"
  96. ],
  97. "resetMocks": true,
  98. "resetModules": true,
  99. "coverageThreshold": {
  100. "global": {
  101. "branches": 100,
  102. "functions": 100,
  103. "lines": 100,
  104. "statements": 100
  105. }
  106. }
  107. }
  108. }