Files
digital-pilates/package.json
richarjiang 2357596665 refactor(storage): 迁移 AsyncStorage 至 expo-sqlite/kv-store
- 统一替换所有 @react-native-async-storage/async-storage 导入为自定义 kvStore
- 新增 kvStore.ts 封装 expo-sqlite/kv-store,保持与 AsyncStorage 完全兼容
- 新增同步读写方法,提升性能
- 引入 expo-sqlite 依赖并更新 lock 文件

BREAKING CHANGE: 移除 @react-native-async-storage/async-storage 依赖,需重新安装依赖并清理旧数据
2025-09-15 12:51:18 +08:00

86 lines
2.8 KiB
JSON

{
"name": "digital-pilates",
"main": "expo-router/entry",
"version": "1.0.2",
"scripts": {
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo run:android",
"ios": "expo run:ios",
"ios-device": "expo run:ios --device",
"web": "expo start --web",
"lint": "expo lint"
},
"dependencies": {
"@expo/ui": "~0.2.0-beta.2",
"@expo/vector-icons": "^15.0.2",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-community/datetimepicker": "^8.4.4",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-native-picker/picker": "^2.11.1",
"@react-native-voice/voice": "^3.2.4",
"@react-navigation/bottom-tabs": "^7.4.7",
"@react-navigation/elements": "^2.6.4",
"@react-navigation/native": "^7.1.17",
"@reduxjs/toolkit": "^2.9.0",
"@sentry/react-native": "~6.20.0",
"@types/lodash": "^4.17.20",
"cos-js-sdk-v5": "^1.6.0",
"dayjs": "^1.11.13",
"expo": "^54.0.7",
"expo-apple-authentication": "~8.0.6",
"expo-background-task": "~1.0.7",
"expo-blur": "~15.0.7",
"expo-camera": "~17.0.7",
"expo-constants": "~18.0.8",
"expo-font": "~14.0.8",
"expo-glass-effect": "^0.1.3",
"expo-haptics": "~15.0.6",
"expo-image": "~3.0.8",
"expo-image-picker": "~17.0.7",
"expo-linear-gradient": "~15.0.6",
"expo-linking": "~8.0.8",
"expo-notifications": "~0.32.11",
"expo-quick-actions": "^5.0.0",
"expo-router": "~6.0.4",
"expo-splash-screen": "~31.0.8",
"expo-sqlite": "^16.0.8",
"expo-status-bar": "~3.0.7",
"expo-symbols": "~1.0.6",
"expo-system-ui": "~6.0.7",
"expo-task-manager": "~14.0.6",
"expo-web-browser": "~15.0.6",
"lodash": "^4.17.21",
"lottie-react-native": "^7.3.4",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.4",
"react-native-device-info": "^14.0.4",
"react-native-gesture-handler": "~2.28.0",
"react-native-health": "^1.19.0",
"react-native-image-viewing": "^0.2.2",
"react-native-markdown-display": "^7.0.2",
"react-native-modal-datetime-picker": "^18.0.0",
"react-native-popover-view": "^6.1.0",
"react-native-purchases": "^9.2.2",
"react-native-reanimated": "~4.1.0",
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-svg": "^15.12.1",
"react-native-toast-message": "^2.3.3",
"react-native-web": "^0.21.0",
"react-native-webview": "13.15.0",
"react-native-wheel-picker-expo": "^0.5.4",
"react-redux": "^9.2.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/react": "~19.1.12",
"eslint": "^9.25.0",
"eslint-config-expo": "~10.0.0",
"typescript": "~5.9.2"
},
"private": true
}