Files
react-native/packages/rn-tester/package.json
Alex Hunt df39eadc03 Bump minimum Node.js version to 22.14.0 (#51840)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51840

Bumps the minimum version of Node.js in React Native to the current active LTS release (22.x, upgraded from 18.x which is now out of support).

- CI configurations are reduced from `[22, 20, 18]` to `[24, 22]`.

{F1978909878}

See https://nodejs.org/en/about/previous-releases.

Changelog:
[General][Breaking] - Our new minimum Node version is Node.js 22

Reviewed By: yungsters, cortinico

Differential Revision: D76037015

fbshipit-source-id: b6e4b3ee279a9a93d716a13297420bba73f45250
2025-06-06 05:21:39 -07:00

69 lines
2.2 KiB
JSON

{
"name": "@react-native/tester",
"version": "0.80.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": ">= 22.14.0"
},
"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.80.0-main",
"@react-native/new-app-screen": "0.80.0-main",
"@react-native/popup-menu-android": "0.80.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": "17.0.0",
"@react-native-community/cli-platform-android": "17.0.0",
"@react-native-community/cli-platform-ios": "17.0.0",
"commander": "^12.0.0",
"listr2": "^6.4.1",
"rxjs": "npm:@react-native-community/rxjs@6.5.4-custom"
}
}