mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 22:58:19 +00:00
Summary: This sync includes the following changes: - **[d83601080](https://github.com/facebook/react/commit/d83601080)**: Wrap retrySuspendedRoot using SchedulerTracing (#13776) //<Sophie Alpert>// - **[40a521aa7](https://github.com/facebook/react/commit/40a521aa7)**: Terminology: Functional -> Function Component (#13775) //<Dan Abramov>// - **[605ab10a4](https://github.com/facebook/react/commit/605ab10a4)**: Add envify transform to scheduler package (#13766) //<Michael Ridgway>// - **[acc7f404c](https://github.com/facebook/react/commit/acc7f404c)**: Restart from root if promise pings before end of render phase (#13774) //<Andrew Clark>// - **[cbc224028](https://github.com/facebook/react/commit/cbc224028)**: fix - small misspelling (#13768) //<Spencer Davies>// - **[4eabeef11](https://github.com/facebook/react/commit/4eabeef11)**: Rename ReactSuspenseWithTestRenderer-test -> ReactSuspense-test //<Andrew Clark>// - **[95a3e1c2e](https://github.com/facebook/react/commit/95a3e1c2e)**: Rename ReactSuspense-test -> ReactSuspenseWithNoopRenderer-test //<Andrew Clark>// - **[96bcae9d5](https://github.com/facebook/react/commit/96bcae9d5)**: Jest + test renderer helpers for concurrent mode (#13751) //<Andrew Clark>// - **[5c783ee75](https://github.com/facebook/react/commit/5c783ee75)**: Remove unreachable code (#13762) //<Heaven>// - **[36c5d69ca](https://github.com/facebook/react/commit/36c5d69ca)**: Always warn about legacy context within StrictMode tree (#13760) //<Brian Vaughn>// - **[3e9a5de88](https://github.com/facebook/react/commit/3e9a5de88)**: UMD react-cache build (#13761) //<Maksim Markelov>// - **[8315a30b9](https://github.com/facebook/react/commit/8315a30b9)**: --save is no longer needed (#13756) //<Joe Cortopassi>// - **[ce96e2df4](https://github.com/facebook/react/commit/ce96e2df4)**: Rename simple-cache-provider to react-cache (#13755) //<Andrew Clark>// - **[c5212646f](https://github.com/facebook/react/commit/c5212646f)**: Removed extra typeof checks for contextType.unstable_read (#13736) //<Brian Vaughn>// - **[806eebdae](https://github.com/facebook/react/commit/806eebdae)**: Enable getDerivedStateFromError (#13746) //<Brian Vaughn>// - **[a0733fe13](https://github.com/facebook/react/commit/a0733fe13)**: pure (#13748) //<Andrew Clark>// - **[4d17c3f05](https://github.com/facebook/react/commit/4d17c3f05)**: [scheduler] Improve naive fallback version used in non-DOM environments //<Andrew Clark>// - **[469005d87](https://github.com/facebook/react/commit/469005d87)**: Revise `AttributeType` React Native Flow Type (#13737) //<Timothy Yung>// - **[0dc0ddc1e](https://github.com/facebook/react/commit/0dc0ddc1e)**: Rename AsyncMode -> ConcurrentMode (#13732) //<Dominic Gannaway>// - **[7601c3765](https://github.com/facebook/react/commit/7601c3765)**: Ensure "addEventListener" exists on "window" for "scheduler" package (#13731) //<Dominic Gannaway>// - **[d0c0ec98e](https://github.com/facebook/react/commit/d0c0ec98e)**: Added a PureComponent contextType test (#13729) //<Brian Vaughn>// - **[4b68a6498](https://github.com/facebook/react/commit/4b68a6498)**: Support class component static contextType attribute (#13728) //<Brian Vaughn>// - **[f305d2a48](https://github.com/facebook/react/commit/f305d2a48)**: [scheduler] Priority levels, continuations, and wrapped callbacks (#13720) //<Andrew Clark>// - **[970a34bae](https://github.com/facebook/react/commit/970a34bae)**: Bump babel-eslint and remove flow supressions (#13727) //<Brian Ng>// - **[13965b4d3](https://github.com/facebook/react/commit/13965b4d3)**: Interaction tracking ref-counting bug fixes (WIP) (#13590) //<Brian Vaughn>// - **[17e703cb9](https://github.com/facebook/react/commit/17e703cb9)**: Restore global window.event after event dispatching (#13688) (#13697) //<Sergei Startsev>// - **[a775a767a](https://github.com/facebook/react/commit/a775a767a)**: Remove redundant logic (#13502) //<Heaven>// - **[e1a067dea](https://github.com/facebook/react/commit/e1a067dea)**: Fix circular dependency in TracingSubscriptions (#13689) //<Maksim Markelov>// - **[518812eeb](https://github.com/facebook/react/commit/518812eeb)**: Clarify comment (#13684) //<Heaven>// - **[eeb817785](https://github.com/facebook/react/commit/eeb817785)**: Remove some old files from stats //<Dan>// - **[7ea3ca1d1](https://github.com/facebook/react/commit/7ea3ca1d1)**: Rename schedule to scheduler (#13683) //<Dan Abramov>// - **[bec2ddaf1](https://github.com/facebook/react/commit/bec2ddaf1)**: Update bundle sizes for 16.5.2 release //<Brian Vaughn>// - **[4269fafb0](https://github.com/facebook/react/commit/4269fafb0)**: Updating package versions for release 16.5.2 //<Brian Vaughn>// - **[4380f9ba1](https://github.com/facebook/react/commit/4380f9ba1)**: Revert "Updating package versions for release 16.6.0-alpha.0" //<Brian Vaughn>// - **[72fad84e7](https://github.com/facebook/react/commit/72fad84e7)**: Revert "Updating dependencies for react-noop-renderer" //<Brian Vaughn>// - **[c3fad5acf](https://github.com/facebook/react/commit/c3fad5acf)**: Revert "Update bundle sizes for 16.6.0-alpha.0 release" //<Brian Vaughn>// - **[dd9120561](https://github.com/facebook/react/commit/dd9120561)**: Kepp calling peformWork consistent (#13596) //<Heaven>// - **[42d12317a](https://github.com/facebook/react/commit/42d12317a)**: Update bundle sizes for 16.6.0-alpha.0 release //<Brian Vaughn>// - **[489614c4f](https://github.com/facebook/react/commit/489614c4f)**: Updating dependencies for react-noop-renderer //<Brian Vaughn>// - **[351c9015c](https://github.com/facebook/react/commit/351c9015c)**: Updating package versions for release 16.6.0-alpha.0 //<Brian Vaughn>// - **[a210b5b44](https://github.com/facebook/react/commit/a210b5b44)**: Revert "Do not bind topLevelType to dispatch" (#13674) //<Dan Abramov>// - **[1d8a75fef](https://github.com/facebook/react/commit/1d8a75fef)**: remove flow typings from Schedule.js (#13662) //<Alexey Raspopov>// - **[d92114b98](https://github.com/facebook/react/commit/d92114b98)**: Resubmit: Fix updateWrapper causing re-render textarea, even though their data (#13643) //<Nathan Hunzaker>// - **[0c9c591bf](https://github.com/facebook/react/commit/0c9c591bf)**: Do not bind topLevelType to dispatch (#13618) //<Nathan Hunzaker>// - **[9f819a5ea](https://github.com/facebook/react/commit/9f819a5ea)**: [schedule] Refactor Schedule, remove React-isms (#13582) //<Andrew Clark>// - **[9c961c0a2](https://github.com/facebook/react/commit/9c961c0a2)**: Fix some iframe edge cases (#13650) //<Jérôme Steunou>// - **[8bc0bcabe](https://github.com/facebook/react/commit/8bc0bcabe)**: Add UMD production+profiling entry points (#13642) //<Brian Vaughn>// - **[b488a5d9c](https://github.com/facebook/react/commit/b488a5d9c)**: Fix test comment typo (#13568) //<Heaven>// - **[4bcee5621](https://github.com/facebook/react/commit/4bcee5621)**: Rename "tracking" API to "tracing" (#13641) //<Brian Vaughn>// - **[72217d081](https://github.com/facebook/react/commit/72217d081)**: Update bundle sizes for 16.5.1 release //<Dan Abramov>// - **[8b93a60c5](https://github.com/facebook/react/commit/8b93a60c5)**: Updating package versions for release 16.5.1 //<Dan Abramov>// - **[ecbf7af40](https://github.com/facebook/react/commit/ecbf7af40)**: Enhance dev warnings for forwardRef render function (#13627) (#13636) //<Andres Rojas>// - **[228240085](https://github.com/facebook/react/commit/228240085)**: Delete TapEventPlugin (#13630) //<Dan Abramov>// - **[a079011f9](https://github.com/facebook/react/commit/a079011f9)**: ð Stop syncing the value attribute on inputs (behind a feature flag) (#13526) //<Nathan Hunzaker>// - **[a7bd7c3c0](https://github.com/facebook/react/commit/a7bd7c3c0)**: Allow reading default feature flags from bundle tests (#13629) //<Dan Abramov>// - **[d3bbfe09c](https://github.com/facebook/react/commit/d3bbfe09c)**: Fix IE version in comment //<Dan Abramov>// - **[1b2646a40](https://github.com/facebook/react/commit/1b2646a40)**: Fix warning without stack for ie9 (#13620) //<Aliaksandr Manzhula>// - **[e49f3ca08](https://github.com/facebook/react/commit/e49f3ca08)**: honor displayName set on ForwardRef if available (#13615) //<Evan Jacobs>// Release Notes: [GENERAL] [FEATURE] [React] - React sync for revisions ade5e69...d836010 Reviewed By: bvaughn Differential Revision: D10118547 fbshipit-source-id: ecde7ada80331abdc8bd7d279e0f3dbe9acde071
246 lines
8.0 KiB
JSON
246 lines
8.0 KiB
JSON
{
|
|
"name": "react-native",
|
|
"version": "1000.0.0",
|
|
"description": "A framework for building native apps using React",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.3"
|
|
},
|
|
"prettier": {
|
|
"requirePragma": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"bracketSpacing": false,
|
|
"jsxBracketSameLine": true,
|
|
"parser": "flow"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/jest/assetFileTransformer.js",
|
|
".*": "./jest/preprocessor.js"
|
|
},
|
|
"setupFiles": [
|
|
"./jest/setup.js"
|
|
],
|
|
"timers": "fake",
|
|
"moduleNameMapper": {
|
|
"^React$": "<rootDir>/Libraries/react-native/React.js"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"Libraries/Renderer",
|
|
"/node_modules/",
|
|
"local-cli/templates/",
|
|
"RNTester/e2e"
|
|
],
|
|
"haste": {
|
|
"defaultPlatform": "ios",
|
|
"hasteImplModulePath": "<rootDir>/jest/hasteImpl.js",
|
|
"providesModuleNodeModules": [
|
|
"react-native"
|
|
],
|
|
"platforms": [
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"/node_modules/(?!react|fbjs|react-native|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/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",
|
|
"node_modules/react/dist",
|
|
"node_modules/fbjs/.*/__mocks__/",
|
|
"node_modules/fbjs/node_modules/"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"node_modules/react/",
|
|
"Libraries/Renderer",
|
|
"promise",
|
|
"source-map",
|
|
"fastpath",
|
|
"denodeify",
|
|
"fbjs",
|
|
"sinon"
|
|
],
|
|
"testEnvironment": "node"
|
|
},
|
|
"main": "Libraries/react-native/react-native-implementation.js",
|
|
"files": [
|
|
".flowconfig",
|
|
"android",
|
|
"cli.js",
|
|
"flow",
|
|
"flow-github",
|
|
"init.sh",
|
|
"scripts/ios-configure-glog.sh",
|
|
"scripts/ios-install-third-party.sh",
|
|
"scripts/launchPackager.bat",
|
|
"scripts/launchPackager.command",
|
|
"scripts/packager.sh",
|
|
"scripts/react-native-xcode.sh",
|
|
"jest-preset.json",
|
|
"jest",
|
|
"lib",
|
|
"rn-get-polyfills.js",
|
|
"setupBabel.js",
|
|
"Libraries",
|
|
"LICENSE",
|
|
"local-cli",
|
|
"packager",
|
|
"react.gradle",
|
|
"React.podspec",
|
|
"React",
|
|
"ReactAndroid",
|
|
"ReactCommon",
|
|
"README.md",
|
|
"third-party-podspecs"
|
|
],
|
|
"scripts": {
|
|
"start": "node ./local-cli/cli.js start",
|
|
"test": "jest",
|
|
"test-ci": "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
|
|
"flow": "flow",
|
|
"flow-check-ios": "flow check",
|
|
"flow-check-android": "flow check --flowconfig-name .flowconfig.android",
|
|
"lint": "eslint .",
|
|
"prettier": "prettier \"./**/*.js\" --write",
|
|
"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 .",
|
|
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-instrumentation-tests.sh",
|
|
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-unit-tests.sh",
|
|
"test-android-run-e2e": "docker run --privileged -it reactnativeci/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js",
|
|
"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",
|
|
"build-ios-e2e": "detox build -c ios.sim.release",
|
|
"test-ios-e2e": "detox test -c ios.sim.release --cleanup"
|
|
},
|
|
"bin": {
|
|
"react-native": "local-cli/wrong-react-native.js"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "16.6.0-alpha.400d197"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.0.0",
|
|
"absolute-path": "^0.0.0",
|
|
"art": "^0.10.0",
|
|
"base64-js": "^1.1.2",
|
|
"chalk": "^1.1.1",
|
|
"commander": "^2.9.0",
|
|
"compression": "^1.7.1",
|
|
"connect": "^3.6.5",
|
|
"create-react-class": "^15.6.3",
|
|
"debug": "^2.2.0",
|
|
"denodeify": "^1.2.1",
|
|
"envinfo": "^5.7.0",
|
|
"errorhandler": "^1.5.0",
|
|
"escape-string-regexp": "^1.0.5",
|
|
"event-target-shim": "^1.0.5",
|
|
"fbjs": "^1.0.0",
|
|
"fbjs-scripts": "^0.8.1",
|
|
"fs-extra": "^1.0.0",
|
|
"glob": "^7.1.1",
|
|
"graceful-fs": "^4.1.3",
|
|
"inquirer": "^3.0.6",
|
|
"lodash": "^4.17.5",
|
|
"metro": "^0.48.0",
|
|
"metro-babel-register": "^0.48.0",
|
|
"metro-core": "^0.48.0",
|
|
"metro-memory-fs": "^0.48.0",
|
|
"mime": "^1.3.4",
|
|
"minimist": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"morgan": "^1.9.0",
|
|
"node-fetch": "^2.2.0",
|
|
"node-notifier": "^5.2.1",
|
|
"npmlog": "^2.0.4",
|
|
"nullthrows": "^1.1.0",
|
|
"opn": "^3.0.2",
|
|
"optimist": "^0.6.1",
|
|
"plist": "^3.0.0",
|
|
"pretty-format": "^23.4.1",
|
|
"promise": "^7.1.1",
|
|
"prop-types": "^15.5.8",
|
|
"react-clone-referenced-element": "^1.0.1",
|
|
"react-devtools-core": "^3.4.0",
|
|
"react-timer-mixin": "^0.13.2",
|
|
"regenerator-runtime": "^0.11.0",
|
|
"rimraf": "^2.5.4",
|
|
"semver": "^5.0.3",
|
|
"serve-static": "^1.13.1",
|
|
"shell-quote": "1.6.1",
|
|
"stacktrace-parser": "^0.1.3",
|
|
"ws": "^1.1.0",
|
|
"xcode": "^0.9.1",
|
|
"xmldoc": "^0.4.0",
|
|
"yargs": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"async": "^2.4.0",
|
|
"babel-eslint": "9.0.0",
|
|
"babel-generator": "^6.26.0",
|
|
"detox": "^8.2.3",
|
|
"eslint": "5.1.0",
|
|
"eslint-config-fb-strict": "22.1.0",
|
|
"eslint-config-fbjs": "2.0.1",
|
|
"eslint-plugin-eslint-comments": "^3.0.1",
|
|
"eslint-plugin-flowtype": "2.43.0",
|
|
"eslint-plugin-jest": "21.8.0",
|
|
"eslint-plugin-prettier": "2.6.0",
|
|
"eslint-plugin-react": "7.8.2",
|
|
"eslint-plugin-react-native": "^3.2.1",
|
|
"flow-bin": "^0.82.0",
|
|
"jest": "23.4.1",
|
|
"jest-junit": "5.1.0",
|
|
"prettier": "1.13.6",
|
|
"react": "16.6.0-alpha.400d197",
|
|
"react-native-dummy": "0.1.0",
|
|
"react-test-renderer": "16.6.0-alpha.400d197",
|
|
"shelljs": "^0.7.8",
|
|
"sinon": "^2.2.0"
|
|
},
|
|
"detox": {
|
|
"test-runner": "jest",
|
|
"runner-config": "RNTester/e2e/config.json",
|
|
"specs": "RNTester/e2e",
|
|
"configurations": {
|
|
"ios.sim.release": {
|
|
"binaryPath": "RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/",
|
|
"build": "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath RNTester/build -quiet",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone 8"
|
|
}
|
|
}
|
|
}
|
|
}
|