react-native-navigation的迁移库

package.json 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 scripts playground/src playground/e2e playground/scripts && BABEL_ENV=test jest --coverage",
  34. "test-android": "node ./scripts/test.android.js",
  35. "test-ios": "node ./scripts/test.ios.js",
  36. "test": "yarn run test-js && yarn run test-android && yarn run test-ios",
  37. "test-watch": "BABEL_ENV=test jest --coverage --watch",
  38. "release": "node ./scripts/release.js"
  39. },
  40. "peerDependencies": {
  41. "react-native": "*",
  42. "react": "*"
  43. },
  44. "dependencies": {
  45. "lodash": "4.x.x"
  46. },
  47. "devDependencies": {
  48. "react-native": "0.41.2",
  49. "react": "15.4.2",
  50. "react-test-renderer": "15.4.2",
  51. "babel-cli": "6.x.x",
  52. "babel-core": "6.x.x",
  53. "babel-polyfill": "6.x.x",
  54. "babel-preset-react-native": "1.x.x",
  55. "babel-register": "6.x.x",
  56. "babel-jest": "18.x.x",
  57. "eslint": "3.x.x",
  58. "eslint-plugin-babel": "4.x.x",
  59. "eslint-plugin-react": "6.x.x",
  60. "eslint-plugin-react-native": "2.x.x",
  61. "jest": "18.x.x",
  62. "jest-cli": "18.x.x",
  63. "remx": "1.x.x",
  64. "semver": "5.x.x",
  65. "detox": "5.x.x",
  66. "mocha": "3.x.x",
  67. "shell-utils": "1.x.x"
  68. },
  69. "babel": {
  70. "env": {
  71. "test": {
  72. "presets": [
  73. "react-native"
  74. ],
  75. "retainLines": true
  76. }
  77. }
  78. },
  79. "jest": {
  80. "preset": "react-native",
  81. "testPathDirs": [
  82. "<rootDir>/node_modules/",
  83. "<rootDir>/lib/src/",
  84. "<rootDir>/integration/"
  85. ],
  86. "resetMocks": true,
  87. "resetModules": true,
  88. "coverageThreshold": {
  89. "global": {
  90. "branches": 100,
  91. "functions": 100,
  92. "lines": 100,
  93. "statements": 100
  94. }
  95. }
  96. }
  97. }