mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34085 Hermes is now the default engine on iOS. Apps can choose to continue using JSC by setting `hermes_enabled` to `false` in their Podfile. The RNTester app now uses Hermes, as well. Use JSC in RNTester by setting `USE_HERMES=0` when running `pod install`. Changelog: [iOS][Changed] Hermes is now the default engine on iOS. This setting is controlled via `flags[:hermes_enabled]` in the Podfile. Reviewed By: cortinico, cipolleschi Differential Revision: D37361468 fbshipit-source-id: e6dda6a23eea4a824ad157d1a26f17e181db33cd
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "@react-native/tester",
|
|
"version": "0.0.1",
|
|
"license": "MIT",
|
|
"description": "React Native tester app.",
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/rn-tester",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git",
|
|
"directory": "packages/rn-tester"
|
|
},
|
|
"scripts": {
|
|
"start": "../../scripts/packager.sh",
|
|
"install-android-jsc": "../../gradlew :packages:rn-tester:android:app:installJscDebug",
|
|
"install-android-hermes": "../../gradlew :packages:rn-tester:android:app:installHermesDebug",
|
|
"clean-android": "rm -rf android/app/build",
|
|
"setup-ios-jsc": "bundle install && USE_HERMES=0 bundle exec pod install",
|
|
"setup-ios-hermes": "bundle install && USE_HERMES=1 bundle exec pod install",
|
|
"clean-ios": "rm -rf build/generated/ios && rm -rf Pods && rm Podfile.lock"
|
|
},
|
|
"dependencies": {
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "18.1.0",
|
|
"react-native": "*"
|
|
},
|
|
"devDependencies": {
|
|
"connect": "^3.6.5",
|
|
"ws": "^6.1.4"
|
|
},
|
|
"codegenConfig": {
|
|
"name": "AppSpecs",
|
|
"type": "all",
|
|
"jsSrcsDir": ".",
|
|
"android": {
|
|
"javaPackageName": "com.facebook.fbreact.specs"
|
|
}
|
|
}
|
|
}
|