- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "smart-app-city",
|
|
"version": "0.1.0",
|
|
"main": "src/App.tsx",
|
|
"scripts": {
|
|
"start": "expo start",
|
|
"android": "expo start --android",
|
|
"ios": "expo start --ios",
|
|
"web": "expo start --web",
|
|
"i18n:check": "node scripts/check-translations.js",
|
|
"test": "jest",
|
|
"lint": "eslint src/"
|
|
},
|
|
"dependencies": {
|
|
"@react-navigation/bottom-tabs": "^6.5.0",
|
|
"@react-navigation/native": "^6.1.0",
|
|
"@tanstack/react-query": "^5.32.0",
|
|
"expo": "~51.0.0",
|
|
"expo-camera": "~15.0.0",
|
|
"expo-image-picker": "~15.0.0",
|
|
"expo-localization": "~15.0.0",
|
|
"expo-location": "~17.0.0",
|
|
"expo-notifications": "~0.28.0",
|
|
"expo-secure-store": "~13.0.0",
|
|
"i18next": "^23.11.0",
|
|
"react": "18.2.0",
|
|
"react-i18next": "^14.1.0",
|
|
"react-native": "0.74.0",
|
|
"react-native-gesture-handler": "~2.16.0",
|
|
"react-native-maps": "^1.14.0",
|
|
"react-native-paper": "^5.12.0",
|
|
"react-native-reanimated": "~3.10.0",
|
|
"zustand": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "~18.2.0",
|
|
"eslint": "~8.57.0",
|
|
"jest": "~29.7.0",
|
|
"typescript": "~5.3.0"
|
|
}
|
|
}
|