2015-02-20 07:10:52 +03:00
{
2015-03-23 06:32:49 +03:00
"name" : "react-native" ,
2020-08-18 22:07:57 +03:00
"private" : true ,
2016-03-29 22:32:57 +03:00
"version" : "1000.0.0" ,
2019-03-29 00:14:15 +03:00
"bin" : "./cli.js" ,
2015-03-28 08:18:47 +03:00
"description" : "A framework for building native apps using React" ,
2018-02-17 05:25:02 +03:00
"license" : "MIT" ,
2020-09-29 08:39:27 +03:00
"repository" : "github:facebook/react-native" ,
2015-10-10 00:42:33 +03:00
"engines" : {
2020-10-29 17:38:19 +03:00
"node" : ">=12"
2015-10-10 00:42:33 +03:00
} ,
2018-12-22 04:34:07 +03:00
"jest-junit" : {
"outputDirectory" : "reports/junit" ,
"outputName" : "js-test-results.xml"
} ,
2015-03-26 04:18:41 +03:00
"files" : [
2019-09-12 13:26:46 +03:00
"!template/node_modules" ,
"!template/package-lock.json" ,
"!template/yarn.lock" ,
2020-11-24 15:24:05 +03:00
"android" ,
2015-03-26 04:18:41 +03:00
"cli.js" ,
2016-10-31 22:52:30 +03:00
"flow" ,
2020-10-06 11:00:42 +03:00
"flow-typed" ,
2019-09-12 13:26:46 +03:00
"index.js" ,
"interface.js" ,
2019-01-15 03:28:55 +03:00
"jest-preset.js" ,
2016-10-31 22:52:30 +03:00
"jest" ,
"Libraries" ,
2015-03-26 04:18:41 +03:00
"LICENSE" ,
2019-09-12 13:26:46 +03:00
"local-cli" ,
"React-Core.podspec" ,
2019-07-01 12:35:42 +03:00
"react-native.config.js" ,
2016-10-31 22:52:30 +03:00
"react.gradle" ,
"React.podspec" ,
"React" ,
"ReactAndroid" ,
"ReactCommon" ,
2017-05-12 12:50:12 +03:00
"README.md" ,
2019-09-12 13:26:46 +03:00
"rn-get-polyfills.js" ,
"scripts/compose-source-maps.js" ,
2021-04-02 23:55:18 +03:00
"scripts/find-node.sh" ,
2020-12-22 19:33:56 +03:00
"scripts/generate-specs.sh" ,
"scripts/generate-specs-cli.js" ,
2019-09-12 13:26:46 +03:00
"scripts/ios-configure-glog.sh" ,
"scripts/launchPackager.bat" ,
"scripts/launchPackager.command" ,
"scripts/node-binary.sh" ,
"scripts/packager.sh" ,
2020-08-17 19:45:55 +03:00
"scripts/react_native_pods.rb" ,
2019-09-12 13:26:46 +03:00
"scripts/react-native-xcode.sh" ,
2019-04-03 19:49:38 +03:00
"template.config.js" ,
2019-09-12 13:26:46 +03:00
"template" ,
"third-party-podspecs"
2015-03-26 04:18:41 +03:00
] ,
2015-02-20 07:10:52 +03:00
"scripts" : {
2019-04-24 14:44:27 +03:00
"start" : "react-native start" ,
2016-07-28 08:02:42 +03:00
"test" : "jest" ,
2018-12-22 04:34:07 +03:00
"test-ci" : "jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"" ,
2016-03-03 15:15:15 +03:00
"flow" : "flow" ,
2018-09-27 02:49:07 +03:00
"flow-check-ios" : "flow check" ,
"flow-check-android" : "flow check --flowconfig-name .flowconfig.android" ,
2017-07-12 23:48:49 +03:00
"lint" : "eslint ." ,
2019-05-22 05:35:40 +03:00
"lint-ci" : "./scripts/circleci/analyze_code.sh && yarn shellcheck" ,
2020-12-07 14:10:46 +03:00
"lint-java" : "node ./scripts/lint-java.js" ,
2019-05-22 05:35:40 +03:00
"shellcheck" : "./scripts/circleci/analyze_scripts.sh" ,
2019-02-18 03:00:18 +03:00
"clang-format" : "clang-format -i --glob=*/**/*.{h,cpp,m,mm}" ,
"format" : "npm run prettier && npm run clang-format" ,
2019-03-15 18:02:30 +03:00
"prettier" : "prettier --write \"./**/*.{js,md,yml}\"" ,
"format-check" : "prettier --list-different \"./**/*.{js,md,yml}\"" ,
2020-09-29 08:39:27 +03:00
"update-lock" : "npx yarn-deduplicate" ,
2021-03-03 03:38:23 +03:00
"docker-setup-android" : "docker pull reactnativecommunity/react-native-android:3.2" ,
2019-02-28 06:27:36 +03:00
"docker-build-android" : "docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android ." ,
"test-android-run-instrumentation" : "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh" ,
"test-android-run-unit" : "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh" ,
"test-android-run-e2e" : "docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js" ,
2018-03-29 21:29:09 +03: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" ,
2018-07-31 00:25:49 +03:00
"test-android-e2e" : "yarn run docker-build-android && yarn run test-android-run-e2e" ,
"build-ios-e2e" : "detox build -c ios.sim.release" ,
2020-08-20 03:54:30 +03:00
"test-ios-e2e" : "detox test -c ios.sim.release packages/rn-tester/e2e" ,
2019-06-29 05:12:42 +03:00
"test-ios" : "./scripts/objc-test.sh test"
2015-02-20 07:10:52 +03:00
} ,
2020-08-18 22:07:57 +03:00
"workspaces" : [
2020-08-21 12:52:03 +03:00
"packages/!(eslint-config-react-native-community)" ,
2020-08-18 22:07:57 +03:00
"repo-config"
] ,
2017-09-20 01:39:18 +03:00
"peerDependencies" : {
2021-04-06 22:41:05 +03:00
"react" : "17.0.2"
2017-09-20 01:39:18 +03:00
} ,
2015-02-20 07:10:52 +03:00
"dependencies" : {
2021-06-09 02:00:11 +03:00
"@jest/create-cache-key-function" : "^27.0.1" ,
2021-06-03 02:59:38 +03:00
"@react-native-community/cli" : "^6.0.0-rc.0" ,
"@react-native-community/cli-platform-android" : "^6.0.0-rc.0" ,
"@react-native-community/cli-platform-ios" : "^6.0.0-rc.0" ,
2020-07-23 15:02:36 +03:00
"@react-native/assets" : "1.0.0" ,
2020-07-24 18:29:52 +03:00
"@react-native/normalize-color" : "1.0.0" ,
2020-08-07 06:00:30 +03:00
"@react-native/polyfills" : "1.0.0" ,
2019-04-15 21:59:14 +03:00
"abort-controller" : "^3.0.0" ,
2019-11-22 20:06:38 +03:00
"anser" : "^1.4.9" ,
2016-09-20 15:41:29 +03:00
"base64-js" : "^1.1.2" ,
2019-04-15 21:59:14 +03:00
"event-target-shim" : "^5.0.1" ,
2021-04-30 01:22:36 +03:00
"hermes-engine" : "~0.8.0" ,
2018-12-03 10:49:12 +03:00
"invariant" : "^2.2.4" ,
2021-05-25 01:04:41 +03:00
"jsc-android" : "^250230.2.1" ,
2021-04-20 15:19:54 +03:00
"metro-babel-register" : "0.66.0" ,
"metro-react-native-babel-transformer" : "0.66.0" ,
"metro-runtime" : "0.66.0" ,
"metro-source-map" : "0.66.0" ,
2019-09-25 20:11:54 +03:00
"nullthrows" : "^1.1.1" ,
2020-10-07 12:12:30 +03:00
"pretty-format" : "^26.5.2" ,
2020-03-02 15:53:46 +03:00
"promise" : "^8.0.3" ,
2019-03-21 21:02:46 +03:00
"prop-types" : "^15.7.2" ,
2021-04-30 02:57:25 +03:00
"react-devtools-core" : "^4.13.0" ,
2019-08-08 14:38:12 +03:00
"react-refresh" : "^0.4.0" ,
2019-03-21 21:02:46 +03:00
"regenerator-runtime" : "^0.13.2" ,
2020-10-27 06:25:25 +03:00
"scheduler" : "^0.20.1" ,
2019-05-31 11:32:13 +03:00
"stacktrace-parser" : "^0.1.3" ,
2019-08-31 21:21:03 +03:00
"use-subscription" : "^1.0.0" ,
2020-08-18 22:07:57 +03:00
"whatwg-fetch" : "^3.0.0" ,
"ws" : "^6.1.4"
2018-07-31 00:25:49 +03:00
} ,
2020-08-22 00:56:29 +03:00
"devDependencies" : {
2021-06-16 07:20:12 +03:00
"flow-bin" : "^0.153.0" ,
2021-04-06 22:41:05 +03:00
"react" : "17.0.2"
2020-08-22 00:56:29 +03:00
} ,
2018-07-31 00:25:49 +03:00
"detox" : {
"test-runner" : "jest" ,
2020-08-20 03:54:30 +03:00
"runner-config" : "packages/rn-tester/e2e/config.json" ,
2019-04-17 20:14:49 +03:00
"specs" : "" ,
2018-07-31 00:25:49 +03:00
"configurations" : {
2020-02-11 21:07:03 +03:00
"android.emu.release" : {
2020-08-20 03:54:30 +03:00
"binaryPath" : "packages/rn-tester/android/app/build/outputs/apk/hermes/release/app-hermes-x86-release.apk" ,
"testBinaryPath" : "packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/release/app-hermes-release-androidTest.apk" ,
2020-09-02 04:45:05 +03:00
"build" : "./gradlew :packages:rn-tester:android:app:assembleRelease :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=release" ,
2020-02-11 21:07:03 +03:00
"type" : "android.emulator" ,
"device" : {
"avdName" : "Nexus_6_API_29"
}
} ,
"android.emu.debug" : {
2020-08-20 03:54:30 +03:00
"binaryPath" : "packages/rn-tester/android/app/build/outputs/apk/hermes/debug/app-hermes-x86-debug.apk" ,
"testBinaryPath" : "packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/debug/app-hermes-debug-androidTest.apk" ,
2020-09-02 04:45:05 +03:00
"build" : "./gradlew :packages:rn-tester:android:app:assembleDebug :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=debug" ,
2020-02-11 21:07:03 +03:00
"type" : "android.emulator" ,
"device" : {
"avdName" : "Nexus_6_API_29"
}
2020-02-12 20:44:40 +03:00
} ,
2018-07-31 00:25:49 +03:00
"ios.sim.release" : {
2020-08-20 03:54:30 +03:00
"binaryPath" : "packages/rn-tester/build/Build/Products/Release-iphonesimulator/RNTester.app/" ,
"build" : "xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet" ,
2018-07-31 00:25:49 +03:00
"type" : "ios.simulator" ,
2020-01-13 22:13:01 +03:00
"name" : "iPhone 8"
2018-12-10 13:31:24 +03:00
} ,
"ios.sim.debug" : {
2020-08-20 03:54:30 +03:00
"binaryPath" : "packages/rn-tester/build/Build/Products/Debug-iphonesimulator/RNTester.app/" ,
"build" : "xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet" ,
2018-12-10 13:31:24 +03:00
"type" : "ios.simulator" ,
2020-01-13 22:13:01 +03:00
"name" : "iPhone 8"
2018-07-31 00:25:49 +03:00
}
}
2015-02-20 07:10:52 +03:00
}
2018-01-12 20:09:04 +03:00
}