199 lines
5.8 KiB
JSON
199 lines
5.8 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": {
|
|
"scriptPreprocessor": "jestSupport/preprocessor.js",
|
|
"setupEnvScriptFile": "jestSupport/env.js",
|
|
"moduleNameMapper": {
|
|
"^image![a-zA-Z0-9$_-]+$": "GlobalImageStub",
|
|
"^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/local-cli/rnpm/"
|
|
],
|
|
"haste": {
|
|
"defaultPlatform": "ios",
|
|
"providesModuleNodeModules": [
|
|
"fbjs",
|
|
"react",
|
|
"react-native",
|
|
"parse",
|
|
"react-transform-hmr"
|
|
],
|
|
"platforms": [
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"/node_modules/(?!react|fbjs|react-native|parse|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",
|
|
"downstream/core/CSSCore.js",
|
|
"downstream/core/TouchEventUtils.js",
|
|
"downstream/core/camelize.js",
|
|
"downstream/core/createArrayFromMixed.js",
|
|
"downstream/core/createNodesFromMarkup.js",
|
|
"downstream/core/dom/containsNode.js",
|
|
"downstream/core/dom/focusNode.js",
|
|
"downstream/core/dom/getActiveElement.js",
|
|
"downstream/core/dom/getUnboundedScrollPosition.js",
|
|
"downstream/core/dom/isNode.js",
|
|
"downstream/core/dom/isTextNode.js",
|
|
"downstream/core/emptyFunction.js",
|
|
"downstream/core/emptyObject.js",
|
|
"downstream/core/getMarkupWrap.js",
|
|
"downstream/core/hyphenate.js",
|
|
"downstream/core/hyphenateStyleName.js",
|
|
"downstream/core/invariant.js",
|
|
"downstream/core/nativeRequestAnimationFrame.js",
|
|
"downstream/core/toArray.js",
|
|
"node_modules/jest-cli",
|
|
"node_modules/react/dist",
|
|
"node_modules/fbjs/.*/__mocks__/",
|
|
"node_modules/fbjs/node_modules/",
|
|
"<rootDir>/website/"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"promise",
|
|
"source-map",
|
|
"node-haste/lib/fastpath",
|
|
"fbjs"
|
|
]
|
|
},
|
|
"main": "Libraries/react-native/react-native.js",
|
|
"files": [
|
|
"React",
|
|
"React.podspec",
|
|
"ReactAndroid",
|
|
"react.gradle",
|
|
"android",
|
|
"Libraries",
|
|
"lib",
|
|
"packager",
|
|
"cli.js",
|
|
"local-cli",
|
|
"init.sh",
|
|
"LICENSE",
|
|
"PATENTS",
|
|
"README.md",
|
|
"jestSupport",
|
|
".flowconfig",
|
|
"flow"
|
|
],
|
|
"scripts": {
|
|
"test": "NODE_ENV=test jest",
|
|
"flow": "flow",
|
|
"lint": "eslint Examples/ Libraries/",
|
|
"start": "/usr/bin/env bash -c './packager/packager.sh \"$@\" || true' --"
|
|
},
|
|
"bin": {
|
|
"react-native": "local-cli/wrong-react-native.js"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^15.1.0"
|
|
},
|
|
"dependencies": {
|
|
"absolute-path": "^0.0.0",
|
|
"art": "^0.10.0",
|
|
"babel-core": "^6.6.4",
|
|
"babel-plugin-external-helpers": "^6.5.0",
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
|
|
"babel-plugin-transform-flow-strip-types": "^6.6.5",
|
|
"babel-plugin-transform-object-rest-spread": "^6.6.5",
|
|
"babel-polyfill": "^6.6.1",
|
|
"babel-preset-es2015-node": "^4.0.2",
|
|
"babel-preset-fbjs": "^2.0.0",
|
|
"babel-preset-react-native": "^1.9.0",
|
|
"babel-register": "^6.6.0",
|
|
"babel-types": "^6.6.4",
|
|
"babylon": "^6.6.4",
|
|
"base64-js": "^0.0.8",
|
|
"bser": "^1.0.2",
|
|
"chalk": "^1.1.1",
|
|
"connect": "^2.8.3",
|
|
"core-js": "^2.2.2",
|
|
"debug": "^2.2.0",
|
|
"event-target-shim": "^1.0.5",
|
|
"fbjs": "^0.8.0",
|
|
"fbjs-scripts": "^0.7.0",
|
|
"graceful-fs": "^4.1.3",
|
|
"image-size": "^0.3.5",
|
|
"immutable": "~3.7.6",
|
|
"joi": "^6.6.1",
|
|
"json-stable-stringify": "^1.0.1",
|
|
"json5": "^0.4.0",
|
|
"jstransform": "^11.0.3",
|
|
"lodash": "^3.10.1",
|
|
"mkdirp": "^0.5.1",
|
|
"module-deps": "^3.9.1",
|
|
"node-fetch": "^1.3.3",
|
|
"node-haste": "~2.12.0",
|
|
"opn": "^3.0.2",
|
|
"optimist": "^0.6.1",
|
|
"progress": "^1.1.8",
|
|
"promise": "^7.1.1",
|
|
"react-clone-referenced-element": "^1.0.1",
|
|
"react-timer-mixin": "^0.13.2",
|
|
"react-transform-hmr": "^1.0.4",
|
|
"rebound": "^0.0.13",
|
|
"regenerator-runtime": "^0.9.5",
|
|
"sane": "^1.2.0",
|
|
"semver": "^5.0.3",
|
|
"source-map": "^0.4.4",
|
|
"stacktrace-parser": "^0.1.3",
|
|
"temp": "0.8.3",
|
|
"uglify-js": "^2.6.2",
|
|
"wordwrap": "^1.0.0",
|
|
"worker-farm": "^1.3.1",
|
|
"ws": "^0.8.0",
|
|
"yargs": "^3.24.0",
|
|
"yeoman-environment": "^1.2.7",
|
|
"yeoman-generator": "^0.20.3"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^6.0.0",
|
|
"eslint": "^2.5.3",
|
|
"eslint-plugin-flow-vars": "^0.2.1",
|
|
"eslint-plugin-react": "^4.2.1",
|
|
"flow-bin": "^0.26.0",
|
|
"jest": "12.1.1",
|
|
"portfinder": "0.4.0",
|
|
"react": "^15.1.0",
|
|
"shelljs": "0.6.0"
|
|
}
|
|
}
|