- 在应用中新增健康咨询页面,展示用户健康数据和建议 - 集成 expo-linear-gradient 以实现页面背景渐变效果 - 更新 package.json 和 package-lock.json,添加 expo-linear-gradient 依赖 - 在首页中添加健康咨询的导航链接 - 修改布局以支持新页面的显示和交互
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"name": "digital-pilates",
|
|
"main": "expo-router/entry",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"start": "expo start",
|
|
"reset-project": "node ./scripts/reset-project.js",
|
|
"android": "expo run:android",
|
|
"ios": "expo run:ios",
|
|
"web": "expo start --web",
|
|
"lint": "expo lint"
|
|
},
|
|
"dependencies": {
|
|
"@expo/vector-icons": "^14.1.0",
|
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
"@react-navigation/bottom-tabs": "^7.3.10",
|
|
"@react-navigation/elements": "^2.3.8",
|
|
"@react-navigation/native": "^7.1.6",
|
|
"dayjs": "^1.11.13",
|
|
"expo": "~53.0.20",
|
|
"expo-blur": "~14.1.5",
|
|
"expo-constants": "~17.1.7",
|
|
"expo-font": "~13.3.2",
|
|
"expo-haptics": "~14.1.4",
|
|
"expo-image": "~2.4.0",
|
|
"expo-linear-gradient": "^14.1.5",
|
|
"expo-linking": "~7.1.7",
|
|
"expo-router": "~5.1.4",
|
|
"expo-splash-screen": "~0.30.10",
|
|
"expo-status-bar": "~2.2.3",
|
|
"expo-symbols": "~0.4.5",
|
|
"expo-system-ui": "~5.0.10",
|
|
"expo-web-browser": "~14.2.0",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"react-native": "0.79.5",
|
|
"react-native-gesture-handler": "~2.24.0",
|
|
"react-native-health": "^1.19.0",
|
|
"react-native-reanimated": "~3.17.4",
|
|
"react-native-safe-area-context": "5.4.0",
|
|
"react-native-screens": "~4.11.1",
|
|
"react-native-web": "~0.20.0",
|
|
"react-native-webview": "13.13.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@types/react": "~19.0.10",
|
|
"eslint": "^9.25.0",
|
|
"eslint-config-expo": "~9.2.0",
|
|
"typescript": "~5.8.3"
|
|
},
|
|
"private": true
|
|
}
|