- 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
129 lines
3.4 KiB
JSON
129 lines
3.4 KiB
JSON
{
|
|
"name": "react-native-maps",
|
|
"description": "React Native Mapview component for iOS + Android",
|
|
"react-native": "src/index",
|
|
"source": "src/index",
|
|
"main": "src/index.ts",
|
|
"types": "dist/src/index.d.ts",
|
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
"version": "1.27.2",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"lint": "eslint . --max-warnings 0",
|
|
"tscheck": "tsc --noEmit",
|
|
"format-check": "prettier --check .",
|
|
"build": "tsc --project tsconfig.build.json && tsc --project plugin/tsconfig.json",
|
|
"test": "jest",
|
|
"prepare": "husky",
|
|
"release": "semantic-release",
|
|
"bundle-install": "cd example && bundle install",
|
|
"pod-install": "cd example/ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install",
|
|
"bootstrap": "yarn --cwd example && yarn && yarn bundle-install && yarn pod-install"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"android",
|
|
"ios",
|
|
"app.plugin.js",
|
|
"plugin/build",
|
|
"react-native-maps.podspec",
|
|
"react-native.config.js",
|
|
"!android/build",
|
|
"!ios/build",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/__mocks__"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/react-native-maps/react-native-maps"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"react-native",
|
|
"react-component",
|
|
"map",
|
|
"mapview",
|
|
"google-maps",
|
|
"mapkit"
|
|
],
|
|
"peerDependencies": {
|
|
"react": ">= 18.3.1",
|
|
"react-native": ">= 0.76.0",
|
|
"react-native-web": ">= 0.11"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react-native-web": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@babel/runtime": "^7.25.0",
|
|
"@commitlint/cli": "19.8.0",
|
|
"@commitlint/config-conventional": "19.8.0",
|
|
"@expo/config-plugins": "^9.0.17",
|
|
"@react-native-community/cli": "20.0.0",
|
|
"@react-native/babel-preset": "0.81.0",
|
|
"@react-native/eslint-config": "0.81.0",
|
|
"@react-native/metro-config": "0.81.0",
|
|
"@react-native/typescript-config": "0.81.0",
|
|
"@semantic-release/changelog": "6.0.3",
|
|
"@semantic-release/git": "10.0.1",
|
|
"@types/react": "^19.1.0",
|
|
"@types/react-test-renderer": "^19.1.0",
|
|
"@types/jest": "^29.5.13",
|
|
"eslint": "^8.19.0",
|
|
"husky": "9.1.7",
|
|
"jest": "^29.6.3",
|
|
"prettier": "2.8.8",
|
|
"react": "19.1.0",
|
|
"react-native": "^0.81.1",
|
|
"react-test-renderer": "19.1.0",
|
|
"semantic-release": "24.2.3",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@types/geojson": "^7946.0.13"
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"e2e"
|
|
]
|
|
},
|
|
"codegenConfig": {
|
|
"name": "RNMapsSpecs",
|
|
"type": "all",
|
|
"jsSrcsDir": "./src/specs",
|
|
"outputDir": {
|
|
"ios": "ios/generated",
|
|
"android": "android/src/main"
|
|
},
|
|
"includesGeneratedCode": true,
|
|
"android": {
|
|
"javaPackageName": "com.rnmaps.fabric"
|
|
},
|
|
"ios": {
|
|
"componentProvider": {
|
|
"RNMapsGoogleMapView": "RNMapsGoogleMapView",
|
|
"RNMapsGooglePolygon": "RNMapsGooglePolygonView",
|
|
"RNMapsMapView": "RNMapsMapView",
|
|
"RNMapsMarker": "RNMapsMarkerView"
|
|
}
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">= 20.19.4"
|
|
}
|
|
}
|