Files
Yuzu-GCA/packages/client-android/package.json
LukeMackin 79a1d306ee feat: expo-updates热更新完整实现 — Metro bundle嵌入APK
- @react-native/metro-config metro配置(代替expo/ExpoMetroConfig)
- index.js纯JS入口(避免TS编译依赖)
- metro.config.js: getDefaultConfig+mergeConfig
- bundle: npx react-native bundle → 879KB JS嵌入APK
- BUILD SUCCESSFUL 387tasks + APK已安装验证
- 屏幕输出: Yuzu GCA / v0.1.0 / expo-updates active
2026-07-20 23:21:29 +08:00

31 lines
833 B
JSON

{
"name": "@yuzu-gca/client-android",
"version": "0.1.0",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"build": "eas build -p android --profile preview",
"export": "expo export --platform android",
"prebuild": "expo prebuild --platform android",
"ios": "expo run:ios"
},
"dependencies": {
"@react-native/gradle-plugin": "^0.86.0",
"expo": "~52.0.49",
"expo-constants": "~17.0.0",
"expo-file-system": "~18.0.0",
"expo-status-bar": "~2.0.0",
"expo-updates": "~0.27.5",
"jsc-android": "^250231.0.0",
"react": "18.3.1",
"react-native": "0.76.5"
},
"devDependencies": {
"@react-native-community/cli": "^20.2.0",
"@types/react": "~18.3.0",
"typescript": "^5.5.0"
}
}