Files
timeline-mobile/package.json
jianghao 42d332f77c feat: 初始化移动端项目基础结构
添加项目基础配置和核心功能模块:
- 配置 TypeScript 和 React Native 环境
- 实现认证状态管理
- 封装 API 请求客户端
- 搭建应用导航框架
2026-02-24 10:34:59 +08:00

68 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Timeline App - React Native
*
*
* React Native
*
*
* - React Native 0.73+
* - TypeScript
* - React Navigation 6
* - Redux Toolkit / Zustand
* - React Query
* - NativeWind (TailwindCSS for RN)
*
* @author Timeline Team
* @date 2024
*/
// package.json 配置
{
"name": "timeline-mobile",
"version": "1.0.0",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"type-check": "tsc --noEmit"
},
"dependencies": {
"react": "18.2.0",
"react-native": "0.73.0",
"@react-navigation/native": "^6.1.0",
"@react-navigation/native-stack": "^6.9.0",
"@react-navigation/bottom-tabs": "^6.5.0",
"@react-navigation/drawer": "^6.6.0",
"react-native-screens": "^3.29.0",
"react-native-safe-area-context": "^4.8.0",
"react-native-gesture-handler": "^2.14.0",
"react-native-reanimated": "^3.6.0",
"@react-native-async-storage/async-storage": "^1.21.0",
"@tanstack/react-query": "^5.17.0",
"zustand": "^4.4.0",
"axios": "^1.6.0",
"date-fns": "^3.2.0",
"react-native-image-picker": "^7.1.0",
"react-native-camera": "^4.2.1",
"react-native-geolocation-service": "^5.3.1",
"react-native-push-notification": "^8.1.1",
"@react-native-community/netinfo": "^11.3.0",
"nativewind": "^2.0.11",
"react-native-svg": "^14.1.0",
"react-native-fast-image": "^8.6.3"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-native": "^0.73.0",
"typescript": "^5.3.0",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"prettier": "^3.2.0",
"tailwindcss": "^3.4.0",
"react-native-svg-transformer": "^1.3.0"
}
}