- 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.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "chrome-launcher",
|
|
"main": "./dist/index.js",
|
|
"engines": {
|
|
"node": ">=12.13.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc -w",
|
|
"test": "mocha --require ts-node/register --reporter=dot test/**/*-test.ts --timeout=10000",
|
|
"test-formatting": "test/check-formatting.sh",
|
|
"format": "scripts/format.sh",
|
|
"type-check": "tsc --allowJs --checkJs --noEmit --target es2019 *.js",
|
|
"prepublishOnly": "npm run build && npm run test",
|
|
"reset-link": "(yarn unlink || true) && yarn link && yarn --cwd node_modules/lighthouse/ link chrome-launcher"
|
|
},
|
|
"bin": {
|
|
"print-chrome-path": "bin/print-chrome-path.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^8.0.4",
|
|
"@types/sinon": "^9.0.1",
|
|
"clang-format": "^1.0.50",
|
|
"mocha": "^8.2.1",
|
|
"sinon": "^9.0.1",
|
|
"ts-node": "^9.1.0",
|
|
"typescript": "^4.1.2"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "*",
|
|
"escape-string-regexp": "^4.0.0",
|
|
"is-wsl": "^2.2.0",
|
|
"lighthouse-logger": "^1.0.0"
|
|
},
|
|
"version": "0.15.2",
|
|
"types": "./dist/index.d.ts",
|
|
"description": "Launch latest Chrome with the Devtools Protocol port open",
|
|
"repository": "https://github.com/GoogleChrome/chrome-launcher/",
|
|
"author": "The Chromium Authors",
|
|
"license": "Apache-2.0"
|
|
}
|