mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e247be793c
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52678 From partner feedback, there's still appetite to support Node 20.x for the next <1y of life. Lower min version to `20.19.4` (Jul 2025) and widen test matrix in CI. Changelog: [General][Breaking] - Our new minimum Node version is Node.js 20 (Overrides #51840) Reviewed By: cortinico Differential Revision: D78494491 fbshipit-source-id: c8d9dc6250cb11f8a12ca7e761b65f4a8dae9265
69 lines
2.2 KiB
JSON
69 lines
2.2 KiB
JSON
{
|
|
"name": "@react-native/tester",
|
|
"version": "0.81.0-main",
|
|
"private": true,
|
|
"description": "React Native tester app.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/rn-tester"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20.19.4"
|
|
},
|
|
"scripts": {
|
|
"start": "react-native start",
|
|
"android": "react-native run-android",
|
|
"install-android-jsc": "../../gradlew :packages:rn-tester:android:app:installDebug",
|
|
"install-android-hermes": "../../gradlew :packages:rn-tester:android:app:installDebug",
|
|
"clean-android": "rm -rf android/app/build",
|
|
"prepare-ios": "node ./cli.js bootstrap ios",
|
|
"clean-ios": "rm -rf build/generated/ios Pods Podfile.lock RNTesterPods.xcworkspace/ ../react-native-codegen/lib/",
|
|
"e2e-build-android": "../../gradlew :packages:rn-tester:android:app:installRelease -PreactNativeArchitectures=arm64-v8a",
|
|
"e2e-build-ios": "./scripts/maestro-build-ios.sh",
|
|
"e2e-test-android": "maestro test .maestro/ -e APP_ID=com.facebook.react.uiapp",
|
|
"e2e-test-ios": "./scripts/maestro-test-ios.sh"
|
|
},
|
|
"dependencies": {
|
|
"@react-native/oss-library-example": "0.81.0-main",
|
|
"@react-native/new-app-screen": "0.81.0-main",
|
|
"@react-native/popup-menu-android": "0.81.0-main",
|
|
"flow-enums-runtime": "^0.0.6",
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "19.1.0",
|
|
"react-native": "*"
|
|
},
|
|
"codegenConfig": {
|
|
"name": "AppSpecs",
|
|
"type": "all",
|
|
"jsSrcsDir": ".",
|
|
"android": {
|
|
"javaPackageName": "com.facebook.fbreact.specs"
|
|
},
|
|
"ios": {
|
|
"modules": {
|
|
"SampleTurboModule": {
|
|
"unstableRequiresMainQueueSetup": true
|
|
}
|
|
},
|
|
"components": {
|
|
"RNTMyNativeView": {
|
|
"className": "RNTMyNativeViewComponentView"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@react-native-community/cli": "20.0.0-alpha.0",
|
|
"@react-native-community/cli-platform-android": "20.0.0-alpha.0",
|
|
"@react-native-community/cli-platform-ios": "20.0.0-alpha.0",
|
|
"commander": "^12.0.0",
|
|
"listr2": "^6.4.1",
|
|
"rxjs": "npm:@react-native-community/rxjs@6.5.4-custom"
|
|
}
|
|
}
|