mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
95ee3f5cab
Summary: Many issues filed on Github are missing platform/toolchain version information. Others have different ways of writing it, and require the issue writer to look in multiple places for these versions. Other CLI tools like Ionic have this function, and it's incredibly useful. Related to https://github.com/facebook/react-native/issues/14420 Run in terminal/command prompt `react-native info` ``` trevors-imac:AwesomeProject tabrindle$ react-native info Versions: React Native: 1000.0.0 OS: macOS Sierra Node: v6.10.3 Yarn: 0.24.5 npm: 5.0.0 Xcode: Xcode 8.3.3 Build version 8E3004b ``` - CLA signed ✅ - Verify functionality + implementation Closes https://github.com/facebook/react-native/pull/14428 Differential Revision: D5392446 Pulled By: hramos fbshipit-source-id: 460079f3860c0af1e0b77bf26552c26032e974be
245 lines
7.7 KiB
JSON
245 lines
7.7 KiB
JSON
{
|
|
"name": "react-native",
|
|
"version": "1000.0.0",
|
|
"description": "A framework for building native apps using React",
|
|
"license": "BSD-3-Clause",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
".*": "./jest/preprocessor.js"
|
|
},
|
|
"setupFiles": [
|
|
"./jest/setup.js"
|
|
],
|
|
"timers": "fake",
|
|
"moduleNameMapper": {
|
|
"^React$": "<rootDir>/Libraries/react-native/React.js",
|
|
"^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"Libraries/Renderer",
|
|
"/node_modules/",
|
|
"/website/",
|
|
"local-cli/templates/"
|
|
],
|
|
"haste": {
|
|
"defaultPlatform": "ios",
|
|
"providesModuleNodeModules": [
|
|
"react-native"
|
|
],
|
|
"platforms": [
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"/node_modules/(?!react|fbjs|react-native|react-transform-hmr|core-js|promise)/",
|
|
"node_modules/react/node_modules/fbjs/",
|
|
"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/nullthrows.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",
|
|
"node_modules/react/dist",
|
|
"node_modules/fbjs/.*/__mocks__/",
|
|
"node_modules/fbjs/node_modules/",
|
|
"<rootDir>/website/"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"node_modules/react/",
|
|
"node_modules/regenerator-runtime/",
|
|
"Libraries/Renderer",
|
|
"promise",
|
|
"source-map",
|
|
"fastpath",
|
|
"denodeify",
|
|
"fbjs",
|
|
"sinon"
|
|
]
|
|
},
|
|
"main": "Libraries/react-native/react-native-implementation.js",
|
|
"files": [
|
|
".flowconfig",
|
|
"android",
|
|
"cli.js",
|
|
"flow",
|
|
"init.sh",
|
|
"scripts/ios-configure-glog.sh",
|
|
"scripts/ios-install-third-party.sh",
|
|
"scripts/launchPackager.bat",
|
|
"scripts/launchPackager.command",
|
|
"scripts/packager.sh",
|
|
"scripts/react-native-xcode.sh",
|
|
"jest-preset.json",
|
|
"jest",
|
|
"lib",
|
|
"rn-get-polyfills.js",
|
|
"setupBabel.js",
|
|
"Libraries",
|
|
"LICENSE",
|
|
"local-cli",
|
|
"packager",
|
|
"PATENTS",
|
|
"react.gradle",
|
|
"React.podspec",
|
|
"React",
|
|
"ReactAndroid",
|
|
"ReactCommon",
|
|
"README.md",
|
|
"third-party-podspecs"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"flow": "flow",
|
|
"lint": "eslint .",
|
|
"start": "/usr/bin/env bash -c './scripts/packager.sh \"$@\" || true' --",
|
|
"test-android-setup": "docker pull containership/android-base:latest",
|
|
"test-android-build": "docker build -t react/android -f ContainerShip/Dockerfile.android .",
|
|
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it react/android bash ContainerShip/scripts/run-android-docker-instrumentation-tests.sh",
|
|
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it react/android bash ContainerShip/scripts/run-android-docker-unit-tests.sh",
|
|
"test-android-run-e2e": "docker run --privileged -it react/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js",
|
|
"test-android-all": "npm run test-android-build && npm run test-android-run-unit && npm run test-android-run-instrumentation && npm run test-android-run-e2e",
|
|
"test-android-instrumentation": "npm run test-android-build && npm run test-android-run-instrumentation",
|
|
"test-android-unit": "npm run test-android-build && npm run test-android-run-unit",
|
|
"test-android-e2e": "npm run test-android-build && npm run test-android-run-e2e"
|
|
},
|
|
"bin": {
|
|
"react-native": "local-cli/wrong-react-native.js"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "16.0.0-alpha.12"
|
|
},
|
|
"dependencies": {
|
|
"absolute-path": "^0.0.0",
|
|
"art": "^0.10.0",
|
|
"async": "^2.4.0",
|
|
"babel-core": "^6.24.1",
|
|
"babel-generator": "^6.24.1",
|
|
"babel-plugin-external-helpers": "^6.18.0",
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.20.0",
|
|
"babel-plugin-transform-async-to-generator": "6.16.0",
|
|
"babel-plugin-transform-class-properties": "^6.18.0",
|
|
"babel-plugin-transform-flow-strip-types": "^6.21.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.20.2",
|
|
"babel-polyfill": "^6.20.0",
|
|
"babel-preset-es2015-node": "^6.1.1",
|
|
"babel-preset-fbjs": "^2.1.4",
|
|
"babel-preset-react-native": "^2.0.0",
|
|
"babel-register": "^6.24.1",
|
|
"babel-runtime": "^6.23.0",
|
|
"babel-traverse": "^6.24.1",
|
|
"babel-types": "^6.24.1",
|
|
"babylon": "^6.17.0",
|
|
"base64-js": "^1.1.2",
|
|
"bser": "^1.0.2",
|
|
"chalk": "^1.1.1",
|
|
"commander": "^2.9.0",
|
|
"concat-stream": "^1.6.0",
|
|
"connect": "^2.8.3",
|
|
"core-js": "^2.2.2",
|
|
"create-react-class": "^15.5.2",
|
|
"debug": "^2.2.0",
|
|
"denodeify": "^1.2.1",
|
|
"envinfo": "^3.0.0",
|
|
"errno": ">=0.1.1 <0.2.0-0",
|
|
"event-target-shim": "^1.0.5",
|
|
"fbjs": "0.8.12",
|
|
"fbjs-scripts": "^0.7.0",
|
|
"form-data": "^2.1.1",
|
|
"fs-extra": "^1.0.0",
|
|
"glob": "^7.1.1",
|
|
"graceful-fs": "^4.1.3",
|
|
"inquirer": "^3.0.6",
|
|
"jest-haste-map": "20.1.0-chi.1",
|
|
"json-stable-stringify": "^1.0.1",
|
|
"json5": "^0.4.0",
|
|
"left-pad": "^1.1.3",
|
|
"lodash": "^4.16.6",
|
|
"merge-stream": "^1.0.1",
|
|
"metro-bundler": "^0.9.0",
|
|
"mime": "^1.3.4",
|
|
"mime-types": "2.1.11",
|
|
"minimist": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"node-fetch": "^1.3.3",
|
|
"npmlog": "^2.0.4",
|
|
"opn": "^3.0.2",
|
|
"optimist": "^0.6.1",
|
|
"plist": "^1.2.0",
|
|
"pretty-format": "^4.2.1",
|
|
"promise": "^7.1.1",
|
|
"prop-types": "^15.5.8",
|
|
"react-clone-referenced-element": "^1.0.1",
|
|
"react-devtools-core": "^2.5.0",
|
|
"react-timer-mixin": "^0.13.2",
|
|
"react-transform-hmr": "^1.0.4",
|
|
"rebound": "^0.0.13",
|
|
"regenerator-runtime": "^0.9.5",
|
|
"request": "^2.79.0",
|
|
"rimraf": "^2.5.4",
|
|
"sane": "~1.4.1",
|
|
"semver": "^5.0.3",
|
|
"shell-quote": "1.6.1",
|
|
"source-map": "^0.5.6",
|
|
"stacktrace-parser": "^0.1.3",
|
|
"temp": "0.8.3",
|
|
"throat": "^4.1.0",
|
|
"whatwg-fetch": "^1.0.0",
|
|
"wordwrap": "^1.0.0",
|
|
"write-file-atomic": "^1.2.0",
|
|
"ws": "^1.1.0",
|
|
"xcode": "^0.9.1",
|
|
"xmldoc": "^0.4.0",
|
|
"xpipe": "^1.0.5",
|
|
"xtend": ">=4.0.0 <4.1.0-0",
|
|
"yargs": "^6.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^7.2.3",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-fb-strict": "^20.0.3",
|
|
"eslint-config-fbjs": "^1.1.1",
|
|
"eslint-plugin-babel": "^4.1.1",
|
|
"eslint-plugin-flowtype": "^2.33.0",
|
|
"eslint-plugin-prettier": "2.1.1",
|
|
"eslint-plugin-react": "^7.0.1",
|
|
"flow-bin": "^0.49.1",
|
|
"jest": "20.1.0-chi.1",
|
|
"jest-phabricator": "20.1.0-chi.1",
|
|
"jest-repl": "20.1.0-chi.1",
|
|
"jest-runtime": "20.1.0-chi.1",
|
|
"mock-fs": "^4.4.1",
|
|
"prettier": "1.5.2",
|
|
"react": "16.0.0-alpha.12",
|
|
"react-test-renderer": "16.0.0-alpha.12",
|
|
"shelljs": "0.6.0",
|
|
"sinon": "^2.2.0"
|
|
}
|
|
}
|