package.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. {
  2. "_from": "react-native@0.59.9",
  3. "_id": "react-native@0.59.9",
  4. "_inBundle": false,
  5. "_integrity": "sha1-yU7k+jUSFyDAUjWi3WzdJ4S/UXc=",
  6. "_location": "/react-native",
  7. "_phantomChildren": {
  8. "ansi-regex": "4.1.0",
  9. "ansi-styles": "3.2.1",
  10. "camelcase": "4.1.0",
  11. "code-point-at": "1.1.0",
  12. "decamelize": "1.2.0",
  13. "get-caller-file": "1.0.3",
  14. "is-stream": "1.1.0",
  15. "lru-cache": "4.1.5",
  16. "mimic-fn": "1.2.0",
  17. "npm-run-path": "2.0.2",
  18. "number-is-nan": "1.0.1",
  19. "p-finally": "1.0.0",
  20. "read-pkg-up": "2.0.0",
  21. "require-directory": "2.1.1",
  22. "require-main-filename": "1.0.1",
  23. "set-blocking": "2.0.0",
  24. "shebang-command": "1.2.0",
  25. "signal-exit": "3.0.2",
  26. "string-width": "2.1.1",
  27. "strip-ansi": "3.0.1",
  28. "strip-eof": "1.0.0",
  29. "which": "1.3.1",
  30. "which-module": "2.0.0",
  31. "wrap-ansi": "2.1.0"
  32. },
  33. "_requested": {
  34. "type": "version",
  35. "registry": true,
  36. "raw": "react-native@0.59.9",
  37. "name": "react-native",
  38. "escapedName": "react-native",
  39. "rawSpec": "0.59.9",
  40. "saveSpec": null,
  41. "fetchSpec": "0.59.9"
  42. },
  43. "_requiredBy": [
  44. "/"
  45. ],
  46. "_resolved": "https://registry.npm.taobao.org/react-native/download/react-native-0.59.9.tgz",
  47. "_shasum": "c94ee4fa35121720c05235a2dd6cdd2784bf5177",
  48. "_spec": "react-native@0.59.9",
  49. "_where": "C:\\Project\\react-native\\HybridAndroid",
  50. "bugs": {
  51. "url": "https://github.com/facebook/react-native/issues"
  52. },
  53. "bundleDependencies": false,
  54. "dependencies": {
  55. "@babel/runtime": "^7.0.0",
  56. "@react-native-community/cli": "^1.2.1",
  57. "absolute-path": "^0.0.0",
  58. "art": "^0.10.0",
  59. "base64-js": "^1.1.2",
  60. "chalk": "^2.4.1",
  61. "commander": "^2.9.0",
  62. "compression": "^1.7.1",
  63. "connect": "^3.6.5",
  64. "create-react-class": "^15.6.3",
  65. "debug": "^2.2.0",
  66. "denodeify": "^1.2.1",
  67. "errorhandler": "^1.5.0",
  68. "escape-string-regexp": "^1.0.5",
  69. "event-target-shim": "^1.0.5",
  70. "fbjs": "^1.0.0",
  71. "fbjs-scripts": "^1.0.0",
  72. "fs-extra": "^1.0.0",
  73. "glob": "^7.1.1",
  74. "graceful-fs": "^4.1.3",
  75. "inquirer": "^3.0.6",
  76. "invariant": "^2.2.4",
  77. "lodash": "^4.17.5",
  78. "metro-babel-register": "0.51.0",
  79. "metro-react-native-babel-transformer": "0.51.0",
  80. "mime": "^1.3.4",
  81. "minimist": "^1.2.0",
  82. "mkdirp": "^0.5.1",
  83. "morgan": "^1.9.0",
  84. "node-fetch": "^2.2.0",
  85. "node-notifier": "^5.2.1",
  86. "npmlog": "^2.0.4",
  87. "nullthrows": "^1.1.0",
  88. "opn": "^3.0.2",
  89. "optimist": "^0.6.1",
  90. "plist": "^3.0.0",
  91. "pretty-format": "24.0.0-alpha.6",
  92. "promise": "^7.1.1",
  93. "prop-types": "^15.5.8",
  94. "react-clone-referenced-element": "^1.0.1",
  95. "react-devtools-core": "^3.6.0",
  96. "regenerator-runtime": "^0.11.0",
  97. "rimraf": "^2.5.4",
  98. "semver": "^5.0.3",
  99. "serve-static": "^1.13.1",
  100. "shell-quote": "1.6.1",
  101. "stacktrace-parser": "^0.1.3",
  102. "ws": "^1.1.5",
  103. "xmldoc": "^0.4.0",
  104. "yargs": "^9.0.0"
  105. },
  106. "deprecated": false,
  107. "description": "A framework for building native apps using React",
  108. "detox": {
  109. "test-runner": "jest",
  110. "runner-config": "RNTester/e2e/config.json",
  111. "specs": "",
  112. "configurations": {
  113. "ios.sim.release": {
  114. "binaryPath": "RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/",
  115. "build": "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet",
  116. "type": "ios.simulator",
  117. "name": "iPhone 6s"
  118. },
  119. "ios.sim.debug": {
  120. "binaryPath": "RNTester/build/Build/Products/Debug-iphonesimulator/RNTester.app/",
  121. "build": "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet",
  122. "type": "ios.simulator",
  123. "name": "iPhone 6s"
  124. }
  125. }
  126. },
  127. "devDependencies": {
  128. "@babel/core": "^7.0.0",
  129. "@babel/generator": "^7.0.0",
  130. "@reactions/component": "^2.0.2",
  131. "async": "^2.4.0",
  132. "babel-eslint": "9.0.0",
  133. "coveralls": "^3.0.2",
  134. "detox": "12.2.0",
  135. "eslint": "5.1.0",
  136. "eslint-config-fb-strict": "22.1.0",
  137. "eslint-config-fbjs": "2.0.1",
  138. "eslint-plugin-eslint-comments": "^3.0.1",
  139. "eslint-plugin-flowtype": "2.43.0",
  140. "eslint-plugin-jest": "21.8.0",
  141. "eslint-plugin-prettier": "2.6.0",
  142. "eslint-plugin-react": "7.8.2",
  143. "eslint-plugin-react-hooks": "^1.0.1",
  144. "eslint-plugin-react-native": "3.5.0",
  145. "flow-bin": "^0.92.0",
  146. "jest": "24.1.0",
  147. "jest-junit": "5.2.0",
  148. "jscodeshift": "^0.6.2",
  149. "prettier": "1.13.6",
  150. "react": "16.8.3",
  151. "react-native-dummy": "0.2.0",
  152. "react-test-renderer": "16.8.3",
  153. "shelljs": "^0.7.8"
  154. },
  155. "engines": {
  156. "node": ">=8.3"
  157. },
  158. "files": [
  159. ".flowconfig",
  160. "android",
  161. "cli.js",
  162. "flow",
  163. "init.sh",
  164. "local-cli",
  165. "scripts/ios-configure-glog.sh",
  166. "scripts/ios-install-third-party.sh",
  167. "scripts/launchPackager.bat",
  168. "scripts/launchPackager.command",
  169. "scripts/packager.sh",
  170. "scripts/react-native-xcode.sh",
  171. "jest-preset.js",
  172. "jest",
  173. "lib",
  174. "rn-get-polyfills.js",
  175. "Libraries",
  176. "LICENSE",
  177. "packager",
  178. "react.gradle",
  179. "React.podspec",
  180. "React",
  181. "ReactAndroid",
  182. "ReactCommon",
  183. "README.md",
  184. "third-party-podspecs",
  185. "template"
  186. ],
  187. "homepage": "https://github.com/facebook/react-native#readme",
  188. "jest": {
  189. "transform": {
  190. "^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/jest/assetFileTransformer.js",
  191. ".*": "./jest/preprocessor.js"
  192. },
  193. "setupFiles": [
  194. "./jest/setup.js"
  195. ],
  196. "timers": "fake",
  197. "moduleNameMapper": {
  198. "^React$": "<rootDir>/Libraries/react-native/React.js"
  199. },
  200. "testRegex": "/__tests__/.*-test\\.js$",
  201. "testPathIgnorePatterns": [
  202. "/node_modules/",
  203. "<rootDir>/template",
  204. "Libraries/Renderer",
  205. "RNTester/e2e"
  206. ],
  207. "haste": {
  208. "defaultPlatform": "ios",
  209. "hasteImplModulePath": "<rootDir>/jest/hasteImpl.js",
  210. "providesModuleNodeModules": [
  211. "react-native"
  212. ],
  213. "platforms": [
  214. "ios",
  215. "android"
  216. ]
  217. },
  218. "modulePathIgnorePatterns": [
  219. "/node_modules/(?!react|fbjs|react-native|react-transform-hmr|core-js|promise)/",
  220. "node_modules/react/node_modules/fbjs/",
  221. "node_modules/react/lib/ReactDOM.js",
  222. "node_modules/fbjs/lib/Map.js",
  223. "node_modules/fbjs/lib/Promise.js",
  224. "node_modules/fbjs/lib/fetch.js",
  225. "node_modules/fbjs/lib/ErrorUtils.js",
  226. "node_modules/fbjs/lib/URI.js",
  227. "node_modules/fbjs/lib/Deferred.js",
  228. "node_modules/fbjs/lib/PromiseMap.js",
  229. "node_modules/fbjs/lib/UserAgent.js",
  230. "node_modules/fbjs/lib/areEqual.js",
  231. "node_modules/fbjs/lib/base62.js",
  232. "node_modules/fbjs/lib/crc32.js",
  233. "node_modules/fbjs/lib/everyObject.js",
  234. "node_modules/fbjs/lib/fetchWithRetries.js",
  235. "node_modules/fbjs/lib/filterObject.js",
  236. "node_modules/fbjs/lib/flattenArray.js",
  237. "node_modules/fbjs/lib/forEachObject.js",
  238. "node_modules/fbjs/lib/isEmpty.js",
  239. "node_modules/fbjs/lib/removeFromArray.js",
  240. "node_modules/fbjs/lib/resolveImmediate.js",
  241. "node_modules/fbjs/lib/someObject.js",
  242. "node_modules/fbjs/lib/sprintf.js",
  243. "node_modules/fbjs/lib/xhrSimpleDataSerializer.js",
  244. "node_modules/jest-cli",
  245. "node_modules/react/dist",
  246. "node_modules/fbjs/.*/__mocks__/",
  247. "node_modules/fbjs/node_modules/"
  248. ],
  249. "unmockedModulePathPatterns": [
  250. "node_modules/react/",
  251. "Libraries/Renderer",
  252. "promise",
  253. "source-map",
  254. "fastpath",
  255. "denodeify",
  256. "fbjs"
  257. ],
  258. "testEnvironment": "node",
  259. "collectCoverageFrom": [
  260. "Libraries/**/*.js"
  261. ],
  262. "coveragePathIgnorePatterns": [
  263. "/__tests__/",
  264. "/vendor/",
  265. "<rootDir>/Libraries/react-native/"
  266. ]
  267. },
  268. "jest-junit": {
  269. "outputDirectory": "reports/junit",
  270. "outputName": "js-test-results.xml"
  271. },
  272. "license": "MIT",
  273. "main": "Libraries/react-native/react-native-implementation.js",
  274. "name": "react-native",
  275. "peerDependencies": {
  276. "react": "16.8.3"
  277. },
  278. "prettier": {
  279. "requirePragma": true,
  280. "singleQuote": true,
  281. "trailingComma": "all",
  282. "bracketSpacing": false,
  283. "jsxBracketSameLine": true,
  284. "parser": "flow"
  285. },
  286. "repository": {
  287. "type": "git",
  288. "url": "git+ssh://git@github.com/facebook/react-native.git"
  289. },
  290. "scripts": {
  291. "build-ios-e2e": "detox build -c ios.sim.release",
  292. "docker-build-android": "docker build -t reactnativeci/android -f ContainerShip/Dockerfile.android .",
  293. "docker-setup-android": "docker pull reactnativecommunity/react-native-android",
  294. "flow": "flow",
  295. "flow-check-android": "flow check --flowconfig-name .flowconfig.android",
  296. "flow-check-ios": "flow check",
  297. "format-check": "prettier --list-different \"./**/*.js\" \"./**/*.md\"",
  298. "lint": "eslint .",
  299. "prettier": "prettier --write \"./**/*.js\" \"./**/*.md\"",
  300. "start": "node cli.js start --reactNativePath .",
  301. "test": "jest",
  302. "test-android-all": "yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e",
  303. "test-android-e2e": "yarn run docker-build-android && yarn run test-android-run-e2e",
  304. "test-android-instrumentation": "yarn run docker-build-android && yarn run test-android-run-instrumentation",
  305. "test-android-run-e2e": "docker run --privileged -it reactnativeci/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js",
  306. "test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-instrumentation-tests.sh",
  307. "test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-unit-tests.sh",
  308. "test-android-unit": "yarn run docker-build-android && yarn run test-android-run-unit",
  309. "test-ci": "jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",
  310. "test-ios-e2e": "detox test -c ios.sim.release RNTester/e2e"
  311. },
  312. "version": "0.59.9"
  313. }