1 | {
|
2 | "name": "react-native",
|
3 | "version": "0.39.2",
|
4 | "description": "A framework for building native apps using React",
|
5 | "license": "BSD-3-Clause",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "git@github.com:facebook/react-native.git"
|
9 | },
|
10 | "engines": {
|
11 | "node": ">=4"
|
12 | },
|
13 | "jest": {
|
14 | "automock": true,
|
15 | "transform": {
|
16 | ".*": "jest/preprocessor.js"
|
17 | },
|
18 | "setupFiles": [
|
19 | "jest/setup.js"
|
20 | ],
|
21 | "timers": "fake",
|
22 | "moduleNameMapper": {
|
23 | "^React$": "<rootDir>/Libraries/react-native/React.js",
|
24 | "^image![a-zA-Z0-9$_-]+$": "GlobalImageStub",
|
25 | "^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub"
|
26 | },
|
27 | "testPathIgnorePatterns": [
|
28 | "/node_modules/",
|
29 | "/website/",
|
30 | "local-cli/templates/"
|
31 | ],
|
32 | "haste": {
|
33 | "defaultPlatform": "ios",
|
34 | "providesModuleNodeModules": [
|
35 | "react-native"
|
36 | ],
|
37 | "platforms": [
|
38 | "ios",
|
39 | "android"
|
40 | ]
|
41 | },
|
42 | "modulePathIgnorePatterns": [
|
43 | "Libraries/react-native/",
|
44 | "/node_modules/(?!react|fbjs|react-native|react-transform-hmr|core-js|promise)/",
|
45 | "node_modules/react/node_modules/fbjs/",
|
46 | "node_modules/react/lib/ReactDOM.js",
|
47 | "node_modules/fbjs/lib/Map.js",
|
48 | "node_modules/fbjs/lib/Promise.js",
|
49 | "node_modules/fbjs/lib/fetch.js",
|
50 | "node_modules/fbjs/lib/ErrorUtils.js",
|
51 | "node_modules/fbjs/lib/URI.js",
|
52 | "node_modules/fbjs/lib/Deferred.js",
|
53 | "node_modules/fbjs/lib/PromiseMap.js",
|
54 | "node_modules/fbjs/lib/UserAgent.js",
|
55 | "node_modules/fbjs/lib/areEqual.js",
|
56 | "node_modules/fbjs/lib/base62.js",
|
57 | "node_modules/fbjs/lib/crc32.js",
|
58 | "node_modules/fbjs/lib/everyObject.js",
|
59 | "node_modules/fbjs/lib/fetchWithRetries.js",
|
60 | "node_modules/fbjs/lib/filterObject.js",
|
61 | "node_modules/fbjs/lib/flattenArray.js",
|
62 | "node_modules/fbjs/lib/forEachObject.js",
|
63 | "node_modules/fbjs/lib/isEmpty.js",
|
64 | "node_modules/fbjs/lib/nullthrows.js",
|
65 | "node_modules/fbjs/lib/removeFromArray.js",
|
66 | "node_modules/fbjs/lib/resolveImmediate.js",
|
67 | "node_modules/fbjs/lib/someObject.js",
|
68 | "node_modules/fbjs/lib/sprintf.js",
|
69 | "node_modules/fbjs/lib/xhrSimpleDataSerializer.js",
|
70 | "downstream/core/CSSCore.js",
|
71 | "downstream/core/TouchEventUtils.js",
|
72 | "downstream/core/camelize.js",
|
73 | "downstream/core/createArrayFromMixed.js",
|
74 | "downstream/core/createNodesFromMarkup.js",
|
75 | "downstream/core/dom/containsNode.js",
|
76 | "downstream/core/dom/focusNode.js",
|
77 | "downstream/core/dom/getActiveElement.js",
|
78 | "downstream/core/dom/getUnboundedScrollPosition.js",
|
79 | "downstream/core/dom/isNode.js",
|
80 | "downstream/core/dom/isTextNode.js",
|
81 | "downstream/core/emptyFunction.js",
|
82 | "downstream/core/emptyObject.js",
|
83 | "downstream/core/getMarkupWrap.js",
|
84 | "downstream/core/hyphenate.js",
|
85 | "downstream/core/hyphenateStyleName.js",
|
86 | "downstream/core/invariant.js",
|
87 | "downstream/core/nativeRequestAnimationFrame.js",
|
88 | "downstream/core/toArray.js",
|
89 | "node_modules/jest-cli",
|
90 | "node_modules/react/dist",
|
91 | "node_modules/fbjs/.*/__mocks__/",
|
92 | "node_modules/fbjs/node_modules/",
|
93 | "<rootDir>/website/"
|
94 | ],
|
95 | "unmockedModulePathPatterns": [
|
96 | "promise",
|
97 | "source-map",
|
98 | "fastpath",
|
99 | "denodeify",
|
100 | "fbjs",
|
101 | "sinon"
|
102 | ]
|
103 | },
|
104 | "main": "Libraries/react-native/react-native.js",
|
105 | "files": [
|
106 | ".flowconfig",
|
107 | "android",
|
108 | "cli.js",
|
109 | "flow",
|
110 | "init.sh",
|
111 | "jest-preset.json",
|
112 | "jest",
|
113 | "lib",
|
114 | "Libraries",
|
115 | "LICENSE",
|
116 | "local-cli",
|
117 | "packager",
|
118 | "PATENTS",
|
119 | "react.gradle",
|
120 | "React.podspec",
|
121 | "React",
|
122 | "ReactAndroid",
|
123 | "ReactCommon",
|
124 | "README.md"
|
125 | ],
|
126 | "scripts": {
|
127 | "test": "jest",
|
128 | "flow": "flow",
|
129 | "lint": "eslint Examples/ Libraries/",
|
130 | "start": "/usr/bin/env bash -c './packager/packager.sh \"$@\" || true' --"
|
131 | },
|
132 | "bin": {
|
133 | "react-native": "local-cli/wrong-react-native.js"
|
134 | },
|
135 | "peerDependencies": {
|
136 | "react": "~15.4.0-rc.4"
|
137 | },
|
138 | "dependencies": {
|
139 | "absolute-path": "^0.0.0",
|
140 | "art": "^0.10.0",
|
141 | "async": "^2.0.1",
|
142 | "babel-core": "^6.18.2",
|
143 | "babel-generator": "^6.19.0",
|
144 | "babel-plugin-external-helpers": "^6.18.0",
|
145 | "babel-plugin-syntax-trailing-function-commas": "^6.13.0",
|
146 | "babel-plugin-transform-flow-strip-types": "^6.18.0",
|
147 | "babel-plugin-transform-object-rest-spread": "^6.19.0",
|
148 | "babel-polyfill": "^6.16.0",
|
149 | "babel-preset-es2015-node": "^6.1.1",
|
150 | "babel-preset-fbjs": "^2.1.0",
|
151 | "babel-preset-react-native": "^1.9.0",
|
152 | "babel-register": "^6.18.0",
|
153 | "babel-runtime": "^6.18.0",
|
154 | "babel-traverse": "^6.19.0",
|
155 | "babel-types": "^6.19.0",
|
156 | "babylon": "^6.14.1",
|
157 | "base64-js": "^1.1.2",
|
158 | "bser": "^1.0.2",
|
159 | "chalk": "^1.1.1",
|
160 | "commander": "^2.9.0",
|
161 | "connect": "^2.8.3",
|
162 | "core-js": "^2.2.2",
|
163 | "debug": "^2.2.0",
|
164 | "denodeify": "^1.2.1",
|
165 | "event-target-shim": "^1.0.5",
|
166 | "fbjs": "^0.8.5",
|
167 | "fbjs-scripts": "^0.7.0",
|
168 | "fs-extra": "^0.26.2",
|
169 | "glob": "^5.0.15",
|
170 | "graceful-fs": "^4.1.3",
|
171 | "image-size": "^0.3.5",
|
172 | "immutable": "~3.7.6",
|
173 | "imurmurhash": "^0.1.4",
|
174 | "inquirer": "^0.12.0",
|
175 | "jest-haste-map": "17.0.3",
|
176 | "joi": "^6.6.1",
|
177 | "json-stable-stringify": "^1.0.1",
|
178 | "json5": "^0.4.0",
|
179 | "lodash": "^4.16.6",
|
180 | "mime": "^1.3.4",
|
181 | "mime-types": "2.1.11",
|
182 | "minimist": "^1.2.0",
|
183 | "mkdirp": "^0.5.1",
|
184 | "node-fetch": "^1.3.3",
|
185 | "npmlog": "^2.0.4",
|
186 | "opn": "^3.0.2",
|
187 | "optimist": "^0.6.1",
|
188 | "plist": "^1.2.0",
|
189 | "progress": "^1.1.8",
|
190 | "promise": "^7.1.1",
|
191 | "react-clone-referenced-element": "^1.0.1",
|
192 | "react-timer-mixin": "^0.13.2",
|
193 | "react-transform-hmr": "^1.0.4",
|
194 | "rebound": "^0.0.13",
|
195 | "regenerator-runtime": "^0.9.5",
|
196 | "rimraf": "^2.5.4",
|
197 | "sane": "~1.4.1",
|
198 | "semver": "^5.0.3",
|
199 | "shell-quote": "1.6.1",
|
200 | "source-map": "^0.5.6",
|
201 | "stacktrace-parser": "^0.1.3",
|
202 | "temp": "0.8.3",
|
203 | "throat": "^3.0.0",
|
204 | "uglify-js": "^2.6.2",
|
205 | "whatwg-fetch": "^1.0.0",
|
206 | "wordwrap": "^1.0.0",
|
207 | "worker-farm": "^1.3.1",
|
208 | "write-file-atomic": "^1.2.0",
|
209 | "ws": "^1.1.0",
|
210 | "xcode": "^0.8.9",
|
211 | "xmldoc": "^0.4.0",
|
212 | "yargs": "^6.4.0"
|
213 | },
|
214 | "devDependencies": {
|
215 | "JSONStream": "1.2.1",
|
216 | "babel-eslint": "^7.0.0",
|
217 | "duplexer": "0.1.1",
|
218 | "eslint": "^3.8.1",
|
219 | "eslint-plugin-babel": "^3.3.0",
|
220 | "eslint-plugin-flowtype": "^2.20.0",
|
221 | "eslint-plugin-react": "^6.4.1",
|
222 | "flow-bin": "^0.35.0",
|
223 | "graphlib-dot": "0.6.2",
|
224 | "graphql": "0.8.2",
|
225 | "jest": "17.0.3",
|
226 | "jest-repl": "17.0.3",
|
227 | "jest-runtime": "17.0.3",
|
228 | "mock-fs": "^3.11.0",
|
229 | "opener": "1.4.2",
|
230 | "portfinder": "0.4.0",
|
231 | "react": "~15.4.0-rc.4",
|
232 | "react-dom": "~15.4.0-rc.4",
|
233 | "react-redux": "4.4.6",
|
234 | "react-test-renderer": "~15.4.0-rc.4",
|
235 | "redux": "3.6.0",
|
236 | "redux-thunk": "2.1.0",
|
237 | "shelljs": "0.6.0",
|
238 | "sinon": "^2.0.0-pre.2",
|
239 | "split": "1.0.0"
|
240 | }
|
241 | }
|