2015-02-19 20:10:52 -08:00
{
2015-03-22 20:32:49 -07:00
"name" : "react-native" ,
2016-03-29 12:32:57 -07:00
"version" : "1000.0.0" ,
2015-03-27 22:18:47 -07:00
"description" : "A framework for building native apps using React" ,
2018-02-16 18:25:02 -08:00
"license" : "MIT" ,
2015-02-19 20:10:52 -08:00
"repository" : {
"type" : "git" ,
"url" : "git@github.com:facebook/react-native.git"
} ,
2015-10-09 14:42:33 -07:00
"engines" : {
2018-05-11 17:24:00 -07:00
"node" : ">=8"
2015-10-09 14:42:33 -07:00
} ,
2017-11-06 20:21:16 -08:00
"prettier" : {
"requirePragma" : true ,
"singleQuote" : true ,
"trailingComma" : "all" ,
"bracketSpacing" : false ,
"jsxBracketSameLine" : true ,
"parser" : "flow"
} ,
2015-02-19 20:10:52 -08:00
"jest" : {
2016-11-15 06:48:09 -08:00
"transform" : {
2017-10-20 13:01:52 -07:00
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$" : "<rootDir>/jest/assetFileTransformer.js" ,
2016-12-19 04:30:39 -08:00
".*" : "./jest/preprocessor.js"
2016-11-15 06:48:09 -08:00
} ,
2016-09-02 05:54:18 -07:00
"setupFiles" : [
2016-12-19 04:30:39 -08:00
"./jest/setup.js"
2016-09-02 05:54:18 -07:00
] ,
"timers" : "fake" ,
2015-10-26 17:01:41 -07:00
"moduleNameMapper" : {
2017-09-06 03:18:37 -07:00
"^React$" : "<rootDir>/Libraries/react-native/React.js"
2015-10-26 17:01:41 -07:00
} ,
2015-02-19 20:10:52 -08:00
"testPathIgnorePatterns" : [
2017-02-10 13:39:36 -08:00
"Libraries/Renderer" ,
2016-09-09 17:32:20 -07:00
"/node_modules/" ,
2017-07-07 02:58:55 -07:00
"local-cli/templates/"
2015-02-19 20:10:52 -08:00
] ,
2016-02-18 00:12:42 -08:00
"haste" : {
"defaultPlatform" : "ios" ,
2018-04-25 07:00:46 -07:00
"hasteImplModulePath" : "<rootDir>/jest/hasteImpl.js" ,
2016-02-18 00:12:42 -08:00
"providesModuleNodeModules" : [
2016-11-15 04:59:12 -08:00
"react-native"
2016-02-18 00:12:42 -08:00
] ,
2016-03-03 04:15:15 -08:00
"platforms" : [
"ios" ,
"android"
]
2016-02-18 00:12:42 -08:00
} ,
2016-01-08 06:51:45 -08:00
"modulePathIgnorePatterns" : [
2016-11-15 04:59:12 -08:00
"/node_modules/(?!react|fbjs|react-native|react-transform-hmr|core-js|promise)/" ,
2016-03-02 04:27:13 -08:00
"node_modules/react/node_modules/fbjs/" ,
2016-01-08 06:51:45 -08: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/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" ,
2016-03-02 04:27:13 -08:00
"node_modules/react/dist" ,
2016-05-20 13:54:57 -07:00
"node_modules/fbjs/.*/__mocks__/" ,
2017-12-05 12:58:50 -08:00
"node_modules/fbjs/node_modules/"
2016-01-08 06:51:45 -08:00
] ,
2015-02-25 12:57:33 -08:00
"unmockedModulePathPatterns" : [
2017-02-10 13:39:36 -08:00
"node_modules/react/" ,
"Libraries/Renderer" ,
2015-06-24 11:01:09 -07:00
"promise" ,
2016-02-15 22:33:11 -08:00
"source-map" ,
2016-07-29 11:00:08 -07:00
"fastpath" ,
"denodeify" ,
2016-09-14 10:24:39 -07:00
"fbjs" ,
"sinon"
2017-09-11 09:36:25 -07:00
] ,
"testEnvironment" : "node"
2015-02-19 20:10:52 -08:00
} ,
2017-02-25 10:21:09 -08:00
"main" : "Libraries/react-native/react-native-implementation.js" ,
2015-03-25 18:18:41 -07:00
"files" : [
2016-10-31 12:52:30 -07:00
".flowconfig" ,
2016-02-09 06:36:30 -08:00
"android" ,
2015-03-25 18:18:41 -07:00
"cli.js" ,
2016-10-31 12:52:30 -07:00
"flow" ,
2018-01-10 14:42:36 -08:00
"flow-github" ,
2015-03-25 18:18:41 -07:00
"init.sh" ,
2017-05-10 04:24:24 -07:00
"scripts/ios-configure-glog.sh" ,
"scripts/ios-install-third-party.sh" ,
2017-05-23 16:05:52 -07:00
"scripts/launchPackager.bat" ,
"scripts/launchPackager.command" ,
"scripts/packager.sh" ,
"scripts/react-native-xcode.sh" ,
2016-10-31 12:52:30 -07:00
"jest-preset.json" ,
"jest" ,
"lib" ,
2017-07-13 03:30:06 -07:00
"rn-get-polyfills.js" ,
2017-01-06 06:02:36 -08:00
"setupBabel.js" ,
2016-10-31 12:52:30 -07:00
"Libraries" ,
2015-03-25 18:18:41 -07:00
"LICENSE" ,
2016-10-31 12:52:30 -07:00
"local-cli" ,
"packager" ,
"react.gradle" ,
"React.podspec" ,
"React" ,
"ReactAndroid" ,
"ReactCommon" ,
2017-05-12 02:50:12 -07:00
"README.md" ,
"third-party-podspecs"
2015-03-25 18:18:41 -07:00
] ,
2015-02-19 20:10:52 -08:00
"scripts" : {
2016-07-27 22:02:42 -07:00
"test" : "jest" ,
2018-01-31 14:48:51 -08:00
"test-ci" : "JEST_JUNIT_OUTPUT=\"~/reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"" ,
2016-03-03 04:15:15 -08:00
"flow" : "flow" ,
2017-07-12 13:48:49 -07:00
"lint" : "eslint ." ,
2017-11-06 20:21:16 -08:00
"prettier" : "find . -name node_modules -prune -or -name '*.js' -print | xargs prettier --write" ,
2017-05-23 16:05:52 -07:00
"start" : "/usr/bin/env bash -c './scripts/packager.sh \"$@\" || true' --" ,
2018-05-09 23:26:39 -07: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 ." ,
2017-02-24 10:48:10 -08:00
"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" ,
2017-04-12 16:23:43 -07:00
"test-android-run-e2e" : "docker run --privileged -it react/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js" ,
2018-03-29 11:29:09 -07: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" ,
"test-android-e2e" : "yarn run docker-build-android && yarn run test-android-run-e2e"
2015-02-19 20:10:52 -08:00
} ,
2015-10-26 11:42:53 -07:00
"bin" : {
"react-native" : "local-cli/wrong-react-native.js"
} ,
2017-09-19 15:39:18 -07:00
"peerDependencies" : {
2018-04-18 14:59:57 -07:00
"react" : "16.3.2"
2017-09-19 15:39:18 -07:00
} ,
2015-02-19 20:10:52 -08:00
"dependencies" : {
2015-09-11 01:23:38 -07:00
"absolute-path" : "^0.0.0" ,
2015-11-05 03:31:11 -08:00
"art" : "^0.10.0" ,
2016-09-20 05:41:29 -07:00
"base64-js" : "^1.1.2" ,
2015-09-11 01:23:38 -07:00
"chalk" : "^1.1.1" ,
2016-07-30 08:59:16 -07:00
"commander" : "^2.9.0" ,
2018-01-17 03:30:04 -08:00
"compression" : "^1.7.1" ,
"connect" : "^3.6.5" ,
2018-01-30 19:15:17 -08:00
"create-react-class" : "^15.6.3" ,
2015-09-11 01:23:38 -07:00
"debug" : "^2.2.0" ,
2016-08-12 11:46:04 -07:00
"denodeify" : "^1.2.1" ,
2017-07-18 11:39:03 -07:00
"envinfo" : "^3.0.0" ,
2018-01-17 03:30:04 -08:00
"errorhandler" : "^1.5.0" ,
2018-05-04 13:47:42 -07:00
"escape-string-regexp" : "^1.0.5" ,
2018-03-07 22:33:21 -08:00
"eslint-plugin-react-native" : "^3.2.1" ,
2015-10-01 12:25:28 -07:00
"event-target-shim" : "^1.0.5" ,
2017-09-19 22:46:29 -07:00
"fbjs" : "^0.8.14" ,
2017-08-09 07:40:43 -07:00
"fbjs-scripts" : "^0.8.1" ,
2017-03-06 17:09:36 -08:00
"fs-extra" : "^1.0.0" ,
2017-03-30 16:12:01 -07:00
"glob" : "^7.1.1" ,
2016-05-04 13:57:38 -07:00
"graceful-fs" : "^4.1.3" ,
2017-05-31 14:20:27 -07:00
"inquirer" : "^3.0.6" ,
2018-02-09 21:43:48 -08:00
"lodash" : "^4.17.5" ,
2018-04-27 06:59:11 -07:00
"metro" : "^0.36.1" ,
"metro-babel-register" : "^0.36.1" ,
"metro-core" : "^0.36.1" ,
"metro-memory-fs" : "^0.36.1" ,
2016-06-03 09:05:14 -07:00
"mime" : "^1.3.4" ,
2016-08-12 11:46:04 -07:00
"minimist" : "^1.2.0" ,
2015-12-29 09:10:22 -08:00
"mkdirp" : "^0.5.1" ,
2018-01-17 03:30:04 -08:00
"morgan" : "^1.9.0" ,
2015-10-19 14:58:38 -07:00
"node-fetch" : "^1.3.3" ,
2018-03-05 14:20:47 -08:00
"node-notifier" : "^5.2.1" ,
2016-06-03 09:05:14 -07:00
"npmlog" : "^2.0.4" ,
2015-10-23 11:28:48 -07:00
"opn" : "^3.0.2" ,
2015-09-11 01:23:38 -07:00
"optimist" : "^0.6.1" ,
2016-06-03 09:05:14 -07:00
"plist" : "^1.2.0" ,
2017-03-09 14:22:17 -08:00
"pretty-format" : "^4.2.1" ,
2016-01-07 09:30:14 -08:00
"promise" : "^7.1.1" ,
2017-04-21 13:13:09 -07:00
"prop-types" : "^15.5.8" ,
2016-04-14 06:40:54 -07:00
"react-clone-referenced-element" : "^1.0.1" ,
2018-02-03 13:29:29 -08:00
"react-devtools-core" : "3.1.0" ,
2015-09-11 01:23:38 -07:00
"react-timer-mixin" : "^0.13.2" ,
2017-10-17 19:38:02 -07:00
"regenerator-runtime" : "^0.11.0" ,
2016-11-08 03:30:24 -08:00
"rimraf" : "^2.5.4" ,
2015-12-29 09:10:22 -08:00
"semver" : "^5.0.3" ,
2018-01-17 03:30:04 -08:00
"serve-static" : "^1.13.1" ,
2016-11-04 12:56:39 -07:00
"shell-quote" : "1.6.1" ,
2015-09-11 01:23:38 -07:00
"stacktrace-parser" : "^0.1.3" ,
2016-08-12 11:46:04 -07:00
"whatwg-fetch" : "^1.0.0" ,
2016-06-22 10:33:01 -07:00
"ws" : "^1.1.0" ,
2017-03-30 16:12:02 -07:00
"xcode" : "^0.9.1" ,
2016-06-03 09:05:14 -07:00
"xmldoc" : "^0.4.0" ,
2017-09-13 00:21:09 -07:00
"yargs" : "^9.0.0"
2015-02-19 20:10:52 -08:00
} ,
"devDependencies" : {
2018-04-23 05:48:20 -07:00
"@babel/core" : "7.0.0-beta.40" ,
2018-04-23 10:26:28 -07:00
"async" : "^2.4.0" ,
2018-02-09 21:43:48 -08:00
"babel-eslint" : "8.2.1" ,
2018-04-23 10:26:28 -07:00
"babel-generator" : "^6.26.0" ,
2018-02-09 21:43:48 -08:00
"eslint" : "4.17.0" ,
"eslint-config-fb-strict" : "22.1.0" ,
"eslint-config-fbjs" : "2.0.1" ,
"eslint-plugin-eslint-comments" : "2.0.2" ,
"eslint-plugin-flowtype" : "2.43.0" ,
"eslint-plugin-jest" : "21.8.0" ,
"eslint-plugin-prettier" : "2.6.0" ,
"eslint-plugin-react" : "7.6.1" ,
2018-05-11 17:44:27 -07:00
"flow-bin" : "^0.72.0" ,
2018-05-03 14:05:30 -07:00
"jest" : "23.0.0-charlie.1" ,
2018-04-27 20:17:14 -07:00
"jest-junit" : "3.7.0" ,
2018-04-19 02:30:39 -07:00
"prettier" : "1.12.1" ,
2018-04-18 14:59:57 -07:00
"react" : "16.3.2" ,
"react-test-renderer" : "16.3.2" ,
2017-09-27 14:34:13 -07:00
"shelljs" : "^0.7.8" ,
2017-05-18 11:21:16 -07:00
"sinon" : "^2.2.0"
2015-02-19 20:10:52 -08:00
}
2018-01-12 09:09:04 -08:00
}