1 | {
|
2 | "name": "react-native",
|
3 | "version": "0.61.0",
|
4 | "bin": "./cli.js",
|
5 | "description": "A framework for building native apps using React",
|
6 | "license": "MIT",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git@github.com:facebook/react-native.git"
|
10 | },
|
11 | "engines": {
|
12 | "node": ">=8.3"
|
13 | },
|
14 | "jest-junit": {
|
15 | "outputDirectory": "reports/junit",
|
16 | "outputName": "js-test-results.xml"
|
17 | },
|
18 | "main": "Libraries/react-native/react-native-implementation.js",
|
19 | "files": [
|
20 | ".flowconfig",
|
21 | "android",
|
22 | "cli.js",
|
23 | "flow",
|
24 | "init.sh",
|
25 | "scripts/compose-source-maps.js",
|
26 | "scripts/ios-configure-glog.sh",
|
27 | "scripts/ios-install-third-party.sh",
|
28 | "scripts/launchPackager.bat",
|
29 | "scripts/launchPackager.command",
|
30 | "scripts/node-binary.sh",
|
31 | "scripts/packager.sh",
|
32 | "scripts/react-native-xcode.sh",
|
33 | "jest-preset.js",
|
34 | "jest",
|
35 | "lib",
|
36 | "rn-get-polyfills.js",
|
37 | "Libraries",
|
38 | "LICENSE",
|
39 | "packager",
|
40 | "react-native.config.js",
|
41 | "react.gradle",
|
42 | "React.podspec",
|
43 | "React-Core.podspec",
|
44 | "React",
|
45 | "ReactAndroid",
|
46 | "ReactCommon",
|
47 | "README.md",
|
48 | "third-party-podspecs",
|
49 | "template",
|
50 | "local-cli",
|
51 | "template.config.js",
|
52 | "!template/node_modules",
|
53 | "!template/yarn.lock",
|
54 | "!template/package-lock.json"
|
55 | ],
|
56 | "scripts": {
|
57 | "start": "react-native start",
|
58 | "test": "jest",
|
59 | "test-ci": "jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",
|
60 | "flow": "flow",
|
61 | "flow-check-ios": "flow check",
|
62 | "flow-check-android": "flow check --flowconfig-name .flowconfig.android",
|
63 | "lint": "eslint .",
|
64 | "lint-ci": "./scripts/circleci/analyze_code.sh && yarn shellcheck",
|
65 | "shellcheck": "./scripts/circleci/analyze_scripts.sh",
|
66 | "clang-format": "clang-format -i --glob=*/**/*.{h,cpp,m,mm}",
|
67 | "format": "npm run prettier && npm run clang-format",
|
68 | "prettier": "prettier --write \"./**/*.{js,md,yml}\"",
|
69 | "format-check": "prettier --list-different \"./**/*.{js,md,yml}\"",
|
70 | "docker-setup-android": "docker pull reactnativecommunity/react-native-android",
|
71 | "docker-build-android": "docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .",
|
72 | "test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh",
|
73 | "test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh",
|
74 | "test-android-run-e2e": "docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js",
|
75 | "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",
|
76 | "test-android-instrumentation": "yarn run docker-build-android && yarn run test-android-run-instrumentation",
|
77 | "test-android-unit": "yarn run docker-build-android && yarn run test-android-run-unit",
|
78 | "test-android-e2e": "yarn run docker-build-android && yarn run test-android-run-e2e",
|
79 | "build-ios-e2e": "detox build -c ios.sim.release",
|
80 | "test-ios-e2e": "detox test -c ios.sim.release RNTester/e2e",
|
81 | "test-ios": "./scripts/objc-test.sh test"
|
82 | },
|
83 | "peerDependencies": {
|
84 | "react": "16.9.0"
|
85 | },
|
86 | "dependencies": {
|
87 | "@babel/runtime": "^7.0.0",
|
88 | "@react-native-community/cli": "^3.0.0-alpha.1",
|
89 | "@react-native-community/cli-platform-android": "^3.0.0-alpha.1",
|
90 | "@react-native-community/cli-platform-ios": "^3.0.0-alpha.1",
|
91 | "abort-controller": "^3.0.0",
|
92 | "art": "^0.10.0",
|
93 | "base64-js": "^1.1.2",
|
94 | "connect": "^3.6.5",
|
95 | "create-react-class": "^15.6.3",
|
96 | "escape-string-regexp": "^1.0.5",
|
97 | "event-target-shim": "^5.0.1",
|
98 | "fbjs": "^1.0.0",
|
99 | "fbjs-scripts": "^1.1.0",
|
100 | "hermes-engine": "^0.2.1",
|
101 | "invariant": "^2.2.4",
|
102 | "jsc-android": "^245459.0.0",
|
103 | "metro-babel-register": "^0.56.0",
|
104 | "metro-react-native-babel-transformer": "^0.56.0",
|
105 | "metro-source-map": "^0.56.0",
|
106 | "nullthrows": "^1.1.0",
|
107 | "pretty-format": "^24.7.0",
|
108 | "promise": "^7.1.1",
|
109 | "prop-types": "^15.7.2",
|
110 | "react-devtools-core": "^3.6.3",
|
111 | "react-refresh": "^0.4.0",
|
112 | "regenerator-runtime": "^0.13.2",
|
113 | "scheduler": "0.15.0",
|
114 | "stacktrace-parser": "^0.1.3",
|
115 | "whatwg-fetch": "^3.0.0"
|
116 | },
|
117 | "devDependencies": {
|
118 | "@babel/core": "^7.0.0",
|
119 | "@babel/generator": "^7.0.0",
|
120 | "@react-native-community/eslint-plugin": "1.0.0",
|
121 | "@reactions/component": "^2.0.2",
|
122 | "async": "^2.4.0",
|
123 | "babel-eslint": "10.0.1",
|
124 | "clang-format": "^1.2.4",
|
125 | "coveralls": "^3.0.2",
|
126 | "detox": "12.2.0",
|
127 | "eslint": "5.1.0",
|
128 | "eslint-config-fb-strict": "24.3.0",
|
129 | "eslint-config-fbjs": "2.1.0",
|
130 | "eslint-config-prettier": "^6.0.0",
|
131 | "eslint-plugin-babel": "^5.3.0",
|
132 | "eslint-plugin-eslint-comments": "^3.1.1",
|
133 | "eslint-plugin-flowtype": "2.50.3",
|
134 | "eslint-plugin-jest": "22.4.1",
|
135 | "eslint-plugin-jsx-a11y": "6.2.1",
|
136 | "eslint-plugin-prettier": "2.6.2",
|
137 | "eslint-plugin-react": "7.12.4",
|
138 | "eslint-plugin-react-hooks": "^1.5.1",
|
139 | "eslint-plugin-react-native": "3.6.0",
|
140 | "eslint-plugin-relay": "1.3.0",
|
141 | "flow-bin": "^0.105.0",
|
142 | "flow-remove-types": "1.2.3",
|
143 | "jest": "^24.8.0",
|
144 | "jest-junit": "^6.3.0",
|
145 | "jscodeshift": "^0.6.2",
|
146 | "mkdirp": "^0.5.1",
|
147 | "prettier": "1.17.0",
|
148 | "react": "16.9.0",
|
149 | "react-test-renderer": "16.9.0",
|
150 | "shelljs": "^0.7.8",
|
151 | "ws": "^6.1.4",
|
152 | "yargs": "^9.0.0"
|
153 | },
|
154 | "detox": {
|
155 | "test-runner": "jest",
|
156 | "runner-config": "RNTester/e2e/config.json",
|
157 | "specs": "",
|
158 | "configurations": {
|
159 | "ios.sim.release": {
|
160 | "binaryPath": "RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/",
|
161 | "build": "xcodebuild -workspace RNTester/RNTesterPods.xcworkspace -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet",
|
162 | "type": "ios.simulator",
|
163 | "name": "iPhone 6s"
|
164 | },
|
165 | "ios.sim.debug": {
|
166 | "binaryPath": "RNTester/build/Build/Products/Debug-iphonesimulator/RNTester.app/",
|
167 | "build": "xcodebuild -workspace RNTester/RNTesterPods.xcworkspace -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet",
|
168 | "type": "ios.simulator",
|
169 | "name": "iPhone 6s"
|
170 | }
|
171 | }
|
172 | }
|
173 | } |
\ | No newline at end of file |