328 lines
16 KiB
JSON
328 lines
16 KiB
JSON
|
{
|
|||
|
"_args": [
|
|||
|
[
|
|||
|
{
|
|||
|
"raw": "react-native@0.52.0",
|
|||
|
"scope": null,
|
|||
|
"escapedName": "react-native",
|
|||
|
"name": "react-native",
|
|||
|
"rawSpec": "0.52.0",
|
|||
|
"spec": "0.52.0",
|
|||
|
"type": "version"
|
|||
|
},
|
|||
|
"/Volumes/2009-SSD/GT2/GT2-iOS"
|
|||
|
]
|
|||
|
],
|
|||
|
"_from": "react-native@0.52.0",
|
|||
|
"_id": "react-native@0.52.0",
|
|||
|
"_inCache": true,
|
|||
|
"_location": "/react-native",
|
|||
|
"_nodeVersion": "8.9.4",
|
|||
|
"_npmOperationalInternal": {
|
|||
|
"host": "s3://npm-registry-packages",
|
|||
|
"tmp": "tmp/react-native-0.52.0.tgz_1515423030709_0.7080991736147553"
|
|||
|
},
|
|||
|
"_npmUser": {
|
|||
|
"name": "react-native-bot",
|
|||
|
"email": "opensource+react-native-bot@fb.com"
|
|||
|
},
|
|||
|
"_npmVersion": "5.6.0",
|
|||
|
"_phantomChildren": {
|
|||
|
"camelcase": "4.1.0",
|
|||
|
"cliui": "3.2.0",
|
|||
|
"decamelize": "1.2.0",
|
|||
|
"escape-string-regexp": "1.0.5",
|
|||
|
"fs.realpath": "1.0.0",
|
|||
|
"get-caller-file": "1.0.2",
|
|||
|
"graceful-fs": "4.1.11",
|
|||
|
"has-ansi": "2.0.0",
|
|||
|
"inflight": "1.0.6",
|
|||
|
"inherits": "2.0.3",
|
|||
|
"klaw": "1.3.1",
|
|||
|
"minimatch": "3.0.4",
|
|||
|
"object-assign": "4.1.1",
|
|||
|
"once": "1.4.0",
|
|||
|
"os-locale": "2.1.0",
|
|||
|
"path-is-absolute": "1.0.1",
|
|||
|
"read-pkg-up": "2.0.0",
|
|||
|
"require-directory": "2.1.1",
|
|||
|
"require-main-filename": "1.0.1",
|
|||
|
"set-blocking": "2.0.0",
|
|||
|
"string-width": "2.1.1",
|
|||
|
"util-deprecate": "1.0.2",
|
|||
|
"which-module": "2.0.0",
|
|||
|
"xmldom": "0.1.27",
|
|||
|
"y18n": "3.2.1",
|
|||
|
"yargs-parser": "7.0.0"
|
|||
|
},
|
|||
|
"_requested": {
|
|||
|
"raw": "react-native@0.52.0",
|
|||
|
"scope": null,
|
|||
|
"escapedName": "react-native",
|
|||
|
"name": "react-native",
|
|||
|
"rawSpec": "0.52.0",
|
|||
|
"spec": "0.52.0",
|
|||
|
"type": "version"
|
|||
|
},
|
|||
|
"_requiredBy": [
|
|||
|
"/"
|
|||
|
],
|
|||
|
"_resolved": "https://registry.npmjs.org/react-native/-/react-native-0.52.0.tgz",
|
|||
|
"_shasum": "9784663a2aa40b30c87d4c9c06ef26cf8d419d91",
|
|||
|
"_shrinkwrap": null,
|
|||
|
"_spec": "react-native@0.52.0",
|
|||
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS",
|
|||
|
"bin": {
|
|||
|
"react-native": "local-cli/wrong-react-native.js"
|
|||
|
},
|
|||
|
"bugs": {
|
|||
|
"url": "https://github.com/facebook/react-native/issues"
|
|||
|
},
|
|||
|
"dependencies": {
|
|||
|
"absolute-path": "^0.0.0",
|
|||
|
"art": "^0.10.0",
|
|||
|
"babel-core": "^6.24.1",
|
|||
|
"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-exponentiation-operator": "^6.5.0",
|
|||
|
"babel-plugin-transform-flow-strip-types": "^6.21.0",
|
|||
|
"babel-plugin-transform-object-rest-spread": "^6.20.2",
|
|||
|
"babel-register": "^6.24.1",
|
|||
|
"babel-runtime": "^6.23.0",
|
|||
|
"base64-js": "^1.1.2",
|
|||
|
"chalk": "^1.1.1",
|
|||
|
"commander": "^2.9.0",
|
|||
|
"connect": "^2.8.3",
|
|||
|
"create-react-class": "^15.5.2",
|
|||
|
"debug": "^2.2.0",
|
|||
|
"denodeify": "^1.2.1",
|
|||
|
"envinfo": "^3.0.0",
|
|||
|
"event-target-shim": "^1.0.5",
|
|||
|
"fbjs": "^0.8.14",
|
|||
|
"fbjs-scripts": "^0.8.1",
|
|||
|
"fs-extra": "^1.0.0",
|
|||
|
"glob": "^7.1.1",
|
|||
|
"graceful-fs": "^4.1.3",
|
|||
|
"inquirer": "^3.0.6",
|
|||
|
"lodash": "^4.16.6",
|
|||
|
"metro": "^0.24.1",
|
|||
|
"metro-core": "^0.24.1",
|
|||
|
"mime": "^1.3.4",
|
|||
|
"minimist": "^1.2.0",
|
|||
|
"mkdirp": "^0.5.1",
|
|||
|
"node-fetch": "^1.3.3",
|
|||
|
"node-notifier": "^5.1.2",
|
|||
|
"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": "3.0.0",
|
|||
|
"react-timer-mixin": "^0.13.2",
|
|||
|
"regenerator-runtime": "^0.11.0",
|
|||
|
"rimraf": "^2.5.4",
|
|||
|
"semver": "^5.0.3",
|
|||
|
"shell-quote": "1.6.1",
|
|||
|
"stacktrace-parser": "^0.1.3",
|
|||
|
"whatwg-fetch": "^1.0.0",
|
|||
|
"ws": "^1.1.0",
|
|||
|
"xcode": "^0.9.1",
|
|||
|
"xmldoc": "^0.4.0",
|
|||
|
"yargs": "^9.0.0"
|
|||
|
},
|
|||
|
"description": "A framework for building native apps using React",
|
|||
|
"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.2.1",
|
|||
|
"flow-bin": "^0.61.0",
|
|||
|
"jest": "21.3.0-beta.13",
|
|||
|
"prettier": "1.7.0",
|
|||
|
"react": "16.2.0",
|
|||
|
"react-test-renderer": "16.2.0",
|
|||
|
"shelljs": "^0.7.8",
|
|||
|
"sinon": "^2.2.0"
|
|||
|
},
|
|||
|
"directories": {},
|
|||
|
"dist": {
|
|||
|
"integrity": "sha512-2Z/1IIA+0PhgzW/r2qfTIWuDWpA8i+pKud/Ygp6JqoMnbFK79JYPkYSAMEkL7uz+oiQ+4bkKqbbUbVkwgF9ZOg==",
|
|||
|
"shasum": "9784663a2aa40b30c87d4c9c06ef26cf8d419d91",
|
|||
|
"tarball": "https://registry.npmjs.org/react-native/-/react-native-0.52.0.tgz"
|
|||
|
},
|
|||
|
"engines": {
|
|||
|
"node": ">=4"
|
|||
|
},
|
|||
|
"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"
|
|||
|
],
|
|||
|
"gitHead": "f465017fe895e5b491c37d0ef6dacab798b1631e",
|
|||
|
"homepage": "https://github.com/facebook/react-native#readme",
|
|||
|
"jest": {
|
|||
|
"transform": {
|
|||
|
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/jest/assetFileTransformer.js",
|
|||
|
".*": "./jest/preprocessor.js"
|
|||
|
},
|
|||
|
"setupFiles": [
|
|||
|
"./jest/setup.js"
|
|||
|
],
|
|||
|
"timers": "fake",
|
|||
|
"moduleNameMapper": {
|
|||
|
"^React$": "<rootDir>/Libraries/react-native/React.js"
|
|||
|
},
|
|||
|
"testPathIgnorePatterns": [
|
|||
|
"Libraries/Renderer",
|
|||
|
"/node_modules/",
|
|||
|
"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/"
|
|||
|
],
|
|||
|
"unmockedModulePathPatterns": [
|
|||
|
"node_modules/react/",
|
|||
|
"Libraries/Renderer",
|
|||
|
"promise",
|
|||
|
"source-map",
|
|||
|
"fastpath",
|
|||
|
"denodeify",
|
|||
|
"fbjs",
|
|||
|
"sinon"
|
|||
|
],
|
|||
|
"testEnvironment": "node"
|
|||
|
},
|
|||
|
"license": "BSD-3-Clause",
|
|||
|
"main": "Libraries/react-native/react-native-implementation.js",
|
|||
|
"maintainers": [
|
|||
|
{
|
|||
|
"name": "sophiebits",
|
|||
|
"email": "npm2@sophiebits.com"
|
|||
|
},
|
|||
|
{
|
|||
|
"name": "bestander",
|
|||
|
"email": "bestander@gmail.com"
|
|||
|
},
|
|||
|
{
|
|||
|
"name": "react-native-bot",
|
|||
|
"email": "opensource+react-native-bot@fb.com"
|
|||
|
},
|
|||
|
{
|
|||
|
"name": "ide",
|
|||
|
"email": "ide+npm@jameside.com"
|
|||
|
},
|
|||
|
{
|
|||
|
"name": "fb",
|
|||
|
"email": "opensource+npm@fb.com"
|
|||
|
}
|
|||
|
],
|
|||
|
"name": "react-native",
|
|||
|
"optionalDependencies": {},
|
|||
|
"peerDependencies": {
|
|||
|
"react": "16.2.0"
|
|||
|
},
|
|||
|
"prettier": {
|
|||
|
"requirePragma": true,
|
|||
|
"singleQuote": true,
|
|||
|
"trailingComma": "all",
|
|||
|
"bracketSpacing": false,
|
|||
|
"jsxBracketSameLine": true,
|
|||
|
"parser": "flow"
|
|||
|
},
|
|||
|
"readme": "# [React Native](https://facebook.github.io/react-native/) · [![Circle CI Status](https://circleci.com/gh/facebook/react-native.svg?style=shield)](https://circleci.com/gh/facebook/react-native) [![npm version](https://badge.fury.io/js/react-native.svg)](https://badge.fury.io/js/react-native) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests)\n\nLearn once, write anywhere: Build mobile apps with React.\n\n- **Build native mobile apps using JavaScript and React:** React Native lets you build mobile apps using only JavaScript. It uses the same design as [React](https://facebook.github.io/react), letting you compose a rich mobile UI from declarative components.\n- **A React Native app is a real mobile app:** With React Native, you don't build a \"mobile web app\", an \"HTML5 app\", or a \"hybrid app\". You build a real mobile app that's indistinguishable from an app built using Objective-C, Java, or Swift. React Native uses the same fundamental UI building blocks as regular iOS and Android apps. You just put those building blocks together using JavaScript and React.\n- **Don't waste time recompiling:** React Native lets you build your app faster. Instead of recompiling, you can reload your app instantly. With hot reloading, you can even run new code while retaining your application state. Give it a try - it's a magical experience.\n- **Use native code when you need to:** React Native combines smoothly with components written in Objective-C, Java, or Swift. It's simple to drop down to native code if you need to optimize a few aspects of your application. It's also easy to build part of your app in React Native, and part of your app using native code directly - that's how the Facebook app works.\n\nThe focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.\n\nSee the official [React Native website](https://facebook.github.io/react-native/) for an introduction to React Native.\n\nSupported operating systems are >= Android 4.1 (API 16) and >= iOS 8.0.\n\n- [Getting Started](#getting-started)\n- [Getting Help](#getting-help)\n- [Documentation](#documentation)\n- [Upgrading](#upgrading)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## Getting Started\n\nFollow the [Getting Started guide](https://facebook.github.io/react-native/docs/getting-started.html). The recommended way to install React Native depends on your project. Here you can find short guides for the most common scenarios:\n\n- [Trying out React Native](https://snack.expo.io/BJ-uC-nrb)\n- [Creating a New Application](http://facebook.github.io/react-native/docs/getting-started.html)\n- [Adding React Native to an Existing Application](http://facebook.github.io/react-native/docs/integration-with-existing-apps.html)\n\n---\n\n## Documentation\n\n[The website’s documentation](https://facebook.github.io/react-native/docs/getting-started.html) is divided into multiple sections.\n- There are **Guides** that discuss topics like [debugging](https://facebook.github.io/react-native/docs/debugging.html), [integrating with existing apps](https://facebook.github.io/react-native/docs/integration-with-existing-apps.html), and [the gesture responder system](https://facebook.github.io/react-native/docs/gesture-responder-system.html).\n- The **Components** section covers React components such as [`View`](https://facebook.github.io/react-native/docs/view.html) and [`Button`](https://facebook.github.io/react-native/docs/button.html).\n- The **APIs** section covers other libraries like [Animated](https://facebook.github.io/react-native/docs/animated.html) and [StyleSheet](https://facebook.github.io/react-native/docs/stylesheet.html) that aren’t React components themselves.\n- Finally, React Native provides a small number of **Polyfills** that offer web-like APIs.\n\nAnother great way to learn more about the components and APIs includ
|
|||
|
"readmeFilename": "README.md",
|
|||
|
"repository": {
|
|||
|
"type": "git",
|
|||
|
"url": "git+ssh://git@github.com/facebook/react-native.git"
|
|||
|
},
|
|||
|
"scripts": {
|
|||
|
"flow": "flow",
|
|||
|
"lint": "eslint .",
|
|||
|
"prettier": "find . -name node_modules -prune -or -name '*.js' -print | xargs prettier --write",
|
|||
|
"start": "/usr/bin/env bash -c './scripts/packager.sh \"$@\" || true' --",
|
|||
|
"test": "jest",
|
|||
|
"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-build": "docker build -t react/android -f ContainerShip/Dockerfile.android .",
|
|||
|
"test-android-e2e": "npm run test-android-build && npm run test-android-run-e2e",
|
|||
|
"test-android-instrumentation": "npm run test-android-build && npm run test-android-run-instrumentation",
|
|||
|
"test-android-run-e2e": "docker run --privileged -it react/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js",
|
|||
|
"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-setup": "docker pull containership/android-base:latest",
|
|||
|
"test-android-unit": "npm run test-android-build && npm run test-android-run-unit"
|
|||
|
},
|
|||
|
"version": "0.52.0"
|
|||
|
}
|