2015-02-20 07:10:52 +03:00
{
2015-03-23 06:32:49 +03:00
"name" : "react-native" ,
2016-03-29 22:32:57 +03:00
"version" : "1000.0.0" ,
2015-03-28 08:18:47 +03:00
"description" : "A framework for building native apps using React" ,
2018-02-17 05:25:02 +03:00
"license" : "MIT" ,
2015-02-20 07:10:52 +03:00
"repository" : {
"type" : "git" ,
"url" : "git@github.com:facebook/react-native.git"
} ,
2015-10-10 00:42:33 +03:00
"engines" : {
2018-07-18 06:59:53 +03:00
"node" : ">=8.3"
2015-10-10 00:42:33 +03:00
} ,
2017-11-07 07:21:16 +03:00
"prettier" : {
"requirePragma" : true ,
"singleQuote" : true ,
"trailingComma" : "all" ,
"bracketSpacing" : false ,
"jsxBracketSameLine" : true ,
"parser" : "flow"
} ,
2015-02-20 07:10:52 +03:00
"jest" : {
2016-11-15 17:48:09 +03:00
"transform" : {
2018-05-31 22:49:00 +03:00
"^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$" : "<rootDir>/jest/assetFileTransformer.js" ,
2016-12-19 15:30:39 +03:00
".*" : "./jest/preprocessor.js"
2016-11-15 17:48:09 +03:00
} ,
2016-09-02 15:54:18 +03:00
"setupFiles" : [
2016-12-19 15:30:39 +03:00
"./jest/setup.js"
2016-09-02 15:54:18 +03:00
] ,
"timers" : "fake" ,
2015-10-27 03:01:41 +03:00
"moduleNameMapper" : {
2017-09-06 13:18:37 +03:00
"^React$" : "<rootDir>/Libraries/react-native/React.js"
2015-10-27 03:01:41 +03:00
} ,
2018-11-26 21:17:18 +03:00
"testRegex" : "/__tests__/.*-test\\.js$" ,
2015-02-20 07:10:52 +03:00
"testPathIgnorePatterns" : [
2016-09-10 03:32:20 +03:00
"/node_modules/" ,
2018-12-07 15:47:03 +03:00
"<rootDir>/template" ,
"Libraries/Renderer" ,
2018-07-31 00:25:49 +03:00
"RNTester/e2e"
2015-02-20 07:10:52 +03:00
] ,
2016-02-18 11:12:42 +03:00
"haste" : {
"defaultPlatform" : "ios" ,
2018-04-25 17:00:46 +03:00
"hasteImplModulePath" : "<rootDir>/jest/hasteImpl.js" ,
2016-02-18 11:12:42 +03:00
"providesModuleNodeModules" : [
2016-11-15 15:59:12 +03:00
"react-native"
2016-02-18 11:12:42 +03:00
] ,
2016-03-03 15:15:15 +03:00
"platforms" : [
"ios" ,
"android"
]
2016-02-18 11:12:42 +03:00
} ,
2016-01-08 17:51:45 +03:00
"modulePathIgnorePatterns" : [
2016-11-15 15:59:12 +03:00
"/node_modules/(?!react|fbjs|react-native|react-transform-hmr|core-js|promise)/" ,
2016-03-02 15:27:13 +03:00
"node_modules/react/node_modules/fbjs/" ,
2016-01-08 17:51:45 +03:00
"node_modules/react/lib/ReactDOM.js" ,
"node_modules/fbjs/lib/Map.js" ,
"node_modules/fbjs/lib/Promise.js" ,
"node_modules/fbjs/lib/fetch.js" ,
"node_modules/fbjs/lib/ErrorUtils.js" ,
"node_modules/fbjs/lib/URI.js" ,
"node_modules/fbjs/lib/Deferred.js" ,
"node_modules/fbjs/lib/PromiseMap.js" ,
"node_modules/fbjs/lib/UserAgent.js" ,
"node_modules/fbjs/lib/areEqual.js" ,
"node_modules/fbjs/lib/base62.js" ,
"node_modules/fbjs/lib/crc32.js" ,
"node_modules/fbjs/lib/everyObject.js" ,
"node_modules/fbjs/lib/fetchWithRetries.js" ,
"node_modules/fbjs/lib/filterObject.js" ,
"node_modules/fbjs/lib/flattenArray.js" ,
"node_modules/fbjs/lib/forEachObject.js" ,
"node_modules/fbjs/lib/isEmpty.js" ,
"node_modules/fbjs/lib/removeFromArray.js" ,
"node_modules/fbjs/lib/resolveImmediate.js" ,
"node_modules/fbjs/lib/someObject.js" ,
"node_modules/fbjs/lib/sprintf.js" ,
"node_modules/fbjs/lib/xhrSimpleDataSerializer.js" ,
"node_modules/jest-cli" ,
2016-03-02 15:27:13 +03:00
"node_modules/react/dist" ,
2016-05-20 23:54:57 +03:00
"node_modules/fbjs/.*/__mocks__/" ,
2017-12-05 23:58:50 +03:00
"node_modules/fbjs/node_modules/"
2016-01-08 17:51:45 +03:00
] ,
2015-02-25 23:57:33 +03:00
"unmockedModulePathPatterns" : [
2017-02-11 00:39:36 +03:00
"node_modules/react/" ,
"Libraries/Renderer" ,
2015-06-24 21:01:09 +03:00
"promise" ,
2016-02-16 09:33:11 +03:00
"source-map" ,
2016-07-29 21:00:08 +03:00
"fastpath" ,
"denodeify" ,
2018-10-10 22:44:51 +03:00
"fbjs"
2017-09-11 19:36:25 +03:00
] ,
2018-12-01 06:45:56 +03:00
"testEnvironment" : "node" ,
"collectCoverageFrom" : [
2018-12-07 15:47:03 +03:00
"Libraries/**/*.js"
2018-12-01 06:45:56 +03:00
] ,
"coveragePathIgnorePatterns" : [
"/__tests__/" ,
"/vendor/" ,
2018-12-07 15:47:03 +03:00
"<rootDir>/Libraries/react-native/"
2018-12-01 06:45:56 +03:00
]
2015-02-20 07:10:52 +03:00
} ,
2017-02-25 21:21:09 +03:00
"main" : "Libraries/react-native/react-native-implementation.js" ,
2015-03-26 04:18:41 +03:00
"files" : [
2016-10-31 22:52:30 +03:00
".flowconfig" ,
2016-02-09 17:36:30 +03:00
"android" ,
2015-03-26 04:18:41 +03:00
"cli.js" ,
2016-10-31 22:52:30 +03:00
"flow" ,
2018-01-11 01:42:36 +03:00
"flow-github" ,
2015-03-26 04:18:41 +03:00
"init.sh" ,
2017-05-10 14:24:24 +03:00
"scripts/ios-configure-glog.sh" ,
"scripts/ios-install-third-party.sh" ,
2017-05-24 02:05:52 +03:00
"scripts/launchPackager.bat" ,
"scripts/launchPackager.command" ,
2018-08-20 17:19:59 +03:00
"scripts/packager.sh" ,
2017-05-24 02:05:52 +03:00
"scripts/react-native-xcode.sh" ,
2016-10-31 22:52:30 +03:00
"jest-preset.json" ,
"jest" ,
"lib" ,
2017-07-13 13:30:06 +03:00
"rn-get-polyfills.js" ,
2016-10-31 22:52:30 +03:00
"Libraries" ,
2015-03-26 04:18:41 +03:00
"LICENSE" ,
2016-10-31 22:52:30 +03:00
"packager" ,
"react.gradle" ,
"React.podspec" ,
"React" ,
"ReactAndroid" ,
"ReactCommon" ,
2017-05-12 12:50:12 +03:00
"README.md" ,
"third-party-podspecs"
2015-03-26 04:18:41 +03:00
] ,
2015-02-20 07:10:52 +03:00
"scripts" : {
2018-12-11 06:04:56 +03:00
"start" : "node cli.js start" ,
2016-07-28 08:02:42 +03:00
"test" : "jest" ,
2018-05-19 06:43:21 +03:00
"test-ci" : "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"" ,
2016-03-03 15:15:15 +03:00
"flow" : "flow" ,
2018-09-27 02:49:07 +03:00
"flow-check-ios" : "flow check" ,
"flow-check-android" : "flow check --flowconfig-name .flowconfig.android" ,
2017-07-12 23:48:49 +03:00
"lint" : "eslint ." ,
2018-07-03 00:42:39 +03:00
"prettier" : "prettier \"./**/*.js\" --write" ,
2018-05-10 09:26:39 +03:00
"docker-setup-android" : "docker pull reactnativeci/android-base:latest" ,
"docker-build-android-base" : "docker build -t reactnativeci/android-base -f ContainerShip/Dockerfile.android-base ." ,
"docker-build-android" : "docker build -t reactnativeci/android -f ContainerShip/Dockerfile.android ." ,
2018-05-24 22:55:36 +03:00
"test-android-run-instrumentation" : "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-instrumentation-tests.sh" ,
"test-android-run-unit" : "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-unit-tests.sh" ,
"test-android-run-e2e" : "docker run --privileged -it reactnativeci/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js" ,
2018-03-29 21:29:09 +03:00
"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" ,
"test-android-instrumentation" : "yarn run docker-build-android && yarn run test-android-run-instrumentation" ,
"test-android-unit" : "yarn run docker-build-android && yarn run test-android-run-unit" ,
2018-07-31 00:25:49 +03:00
"test-android-e2e" : "yarn run docker-build-android && yarn run test-android-run-e2e" ,
"build-ios-e2e" : "detox build -c ios.sim.release" ,
"test-ios-e2e" : "detox test -c ios.sim.release --cleanup"
2015-02-20 07:10:52 +03:00
} ,
2017-09-20 01:39:18 +03:00
"peerDependencies" : {
2018-12-04 03:26:21 +03:00
"react" : "16.6.3"
2017-09-20 01:39:18 +03:00
} ,
2015-02-20 07:10:52 +03:00
"dependencies" : {
2018-09-26 19:48:35 +03:00
"@babel/runtime" : "^7.0.0" ,
2015-09-11 11:23:38 +03:00
"absolute-path" : "^0.0.0" ,
2015-11-05 14:31:11 +03:00
"art" : "^0.10.0" ,
2016-09-20 15:41:29 +03:00
"base64-js" : "^1.1.2" ,
2018-11-28 10:31:39 +03:00
"chalk" : "^2.4.1" ,
2016-07-30 18:59:16 +03:00
"commander" : "^2.9.0" ,
2018-01-17 14:30:04 +03:00
"compression" : "^1.7.1" ,
"connect" : "^3.6.5" ,
2018-01-31 06:15:17 +03:00
"create-react-class" : "^15.6.3" ,
2015-09-11 11:23:38 +03:00
"debug" : "^2.2.0" ,
2016-08-12 21:46:04 +03:00
"denodeify" : "^1.2.1" ,
cli: upgrade envinfo for new features in `react-native info`
Summary:
envinfo has done a good job reporting issues in the issue template so far, and I've done a lot of work between version 3.x and 5.x that react-native could benefit from. This adds:
- better information organization, including versions and paths
- Platform/CPU/RAM
- Android and iOS SDK version detection
- npm package globbing (select all babel* packages
- global npm packages (with globbing)
envinfo also can report IDE versions, other binaries, languages and browsers if needed, and in different formats. Take a look here if interested: https://github.com/tabrindle/envinfo
- run `react-native info` // standard info
- run `react-native info --packages` // all packages in package.json
- run `react-native info --packages jest,eslint,babel-polyfill` // specified packages
- run `react-native info --packages *babel*` // globbed packages
Sample standard output:
```
System:
OS: macOS High Sierra 10.13
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Memory: 97.59 MB / 16.00 GB
Shell: 5.4.2 - /usr/local/bin/zsh
Binaries:
Node: 8.11.0 - ~/.nvm/versions/node/v8.11.0/bin/node
Yarn: 1.5.1 - ~/.yarn/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.11.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0
Android SDK:
Build Tools: 27.0.3
API Levels: 26
IDEs:
Android Studio: 3.0 AI-171.4443003
Xcode: 9.0/9A235 - /usr/bin/xcodebuild
npmPackages:
react: 16.3.2 => 16.3.2
react-native: 0.55.0 => 0.55.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
```
https://github.com/facebook/react-native/pull/14428 - original inclusion of `react-native info`
[CLI] [ENHANCEMENT] [local-cli/info/info.js] - add more info to react-native info cli command, like global npm packages, binary paths, and SDK versions
Closes https://github.com/facebook/react-native/pull/19331
Differential Revision: D8049650
Pulled By: hramos
fbshipit-source-id: 35c677f369bcad1a014eb083b2ce60ba33fee0ea
2018-05-30 02:58:32 +03:00
"envinfo" : "^5.7.0" ,
2018-01-17 14:30:04 +03:00
"errorhandler" : "^1.5.0" ,
2018-05-04 23:47:42 +03:00
"escape-string-regexp" : "^1.0.5" ,
2015-10-01 22:25:28 +03:00
"event-target-shim" : "^1.0.5" ,
2018-09-29 13:06:10 +03:00
"fbjs" : "^1.0.0" ,
2018-10-30 23:34:58 +03:00
"fbjs-scripts" : "^1.0.0" ,
2017-03-07 04:09:36 +03:00
"fs-extra" : "^1.0.0" ,
2017-03-31 02:12:01 +03:00
"glob" : "^7.1.1" ,
2016-05-04 23:57:38 +03:00
"graceful-fs" : "^4.1.3" ,
2017-06-01 00:20:27 +03:00
"inquirer" : "^3.0.6" ,
2018-12-03 10:49:12 +03:00
"invariant" : "^2.2.4" ,
2018-11-15 00:46:35 +03:00
"jest" : "24.0.0-alpha.6" ,
"jest-junit" : "5.2.0" ,
2018-02-10 08:43:48 +03:00
"lodash" : "^4.17.5" ,
2018-11-30 13:55:57 +03:00
"metro" : "0.50.0" ,
"metro-babel-register" : "0.50.0" ,
"metro-core" : "0.50.0" ,
"metro-memory-fs" : "0.50.0" ,
2016-06-03 19:05:14 +03:00
"mime" : "^1.3.4" ,
2016-08-12 21:46:04 +03:00
"minimist" : "^1.2.0" ,
2015-12-29 20:10:22 +03:00
"mkdirp" : "^0.5.1" ,
2018-01-17 14:30:04 +03:00
"morgan" : "^1.9.0" ,
2018-08-08 13:34:27 +03:00
"node-fetch" : "^2.2.0" ,
2018-03-06 01:20:47 +03:00
"node-notifier" : "^5.2.1" ,
2016-06-03 19:05:14 +03:00
"npmlog" : "^2.0.4" ,
2018-09-10 11:33:52 +03:00
"nullthrows" : "^1.1.0" ,
2015-10-23 21:28:48 +03:00
"opn" : "^3.0.2" ,
2015-09-11 11:23:38 +03:00
"optimist" : "^0.6.1" ,
2018-06-06 05:21:29 +03:00
"plist" : "^3.0.0" ,
2018-11-15 00:46:35 +03:00
"pretty-format" : "24.0.0-alpha.6" ,
2016-01-07 20:30:14 +03:00
"promise" : "^7.1.1" ,
2017-04-21 23:13:09 +03:00
"prop-types" : "^15.5.8" ,
2016-04-14 16:40:54 +03:00
"react-clone-referenced-element" : "^1.0.1" ,
2018-11-15 20:23:56 +03:00
"react-devtools-core" : "^3.4.2" ,
2018-12-03 09:18:42 +03:00
"react-native-local-cli" : "1.0.0-alpha.4" ,
2017-10-18 05:38:02 +03:00
"regenerator-runtime" : "^0.11.0" ,
2016-11-08 14:30:24 +03:00
"rimraf" : "^2.5.4" ,
2015-12-29 20:10:22 +03:00
"semver" : "^5.0.3" ,
2018-01-17 14:30:04 +03:00
"serve-static" : "^1.13.1" ,
2016-11-04 22:56:39 +03:00
"shell-quote" : "1.6.1" ,
2015-09-11 11:23:38 +03:00
"stacktrace-parser" : "^0.1.3" ,
2018-12-04 09:19:18 +03:00
"ws" : "^1.1.5" ,
2018-10-17 22:10:49 +03:00
"xcode" : "^1.0.0" ,
2016-06-03 19:05:14 +03:00
"xmldoc" : "^0.4.0" ,
2017-09-13 10:21:09 +03:00
"yargs" : "^9.0.0"
2015-02-20 07:10:52 +03:00
} ,
"devDependencies" : {
2018-08-29 20:47:33 +03:00
"@babel/core" : "^7.0.0" ,
2018-12-11 05:07:22 +03:00
"@babel/generator" : "^7.0.0" ,
2018-11-16 07:42:47 +03:00
"@reactions/component" : "^2.0.2" ,
2018-04-23 20:26:28 +03:00
"async" : "^2.4.0" ,
2018-09-18 16:33:39 +03:00
"babel-eslint" : "9.0.0" ,
2018-10-10 19:46:32 +03:00
"detox" : "9.0.4" ,
2018-12-01 06:45:56 +03:00
"coveralls" : "^3.0.2" ,
2018-07-09 22:31:17 +03:00
"eslint" : "5.1.0" ,
2018-02-10 08:43:48 +03:00
"eslint-config-fb-strict" : "22.1.0" ,
"eslint-config-fbjs" : "2.0.1" ,
2018-07-03 18:42:49 +03:00
"eslint-plugin-eslint-comments" : "^3.0.1" ,
2018-02-10 08:43:48 +03:00
"eslint-plugin-flowtype" : "2.43.0" ,
"eslint-plugin-jest" : "21.8.0" ,
"eslint-plugin-prettier" : "2.6.0" ,
2018-06-09 06:24:34 +03:00
"eslint-plugin-react" : "7.8.2" ,
2018-10-23 03:34:46 +03:00
"eslint-plugin-react-native" : "3.5.0" ,
2018-11-29 04:30:35 +03:00
"flow-bin" : "^0.87.0" ,
2018-11-15 00:46:35 +03:00
"jest" : "24.0.0-alpha.6" ,
"jest-junit" : "5.2.0" ,
2018-06-27 13:22:49 +03:00
"prettier" : "1.13.6" ,
2018-12-04 03:26:21 +03:00
"react" : "16.6.3" ,
2018-09-27 23:08:00 +03:00
"react-native-dummy" : "0.1.0" ,
2018-12-04 03:26:21 +03:00
"react-test-renderer" : "16.6.3" ,
2018-10-10 22:44:51 +03:00
"shelljs" : "^0.7.8"
2018-07-31 00:25:49 +03:00
} ,
"detox" : {
"test-runner" : "jest" ,
"runner-config" : "RNTester/e2e/config.json" ,
"specs" : "RNTester/e2e" ,
"configurations" : {
"ios.sim.release" : {
"binaryPath" : "RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/" ,
2018-12-01 05:27:42 +03:00
"build" : "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet" ,
2018-07-31 00:25:49 +03:00
"type" : "ios.simulator" ,
"name" : "iPhone 8"
2018-12-10 13:31:24 +03:00
} ,
"ios.sim.debug" : {
"binaryPath" : "RNTester/build/Build/Products/Debug-iphonesimulator/RNTester.app/" ,
"build" : "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet" ,
"type" : "ios.simulator" ,
"name" : "iPhone 8"
2018-07-31 00:25:49 +03:00
}
}
2015-02-20 07:10:52 +03:00
}
2018-01-12 20:09:04 +03:00
}