- 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
84 lines
2.0 KiB
JSON
84 lines
2.0 KiB
JSON
{
|
|
"name": "fbjs",
|
|
"version": "3.0.5",
|
|
"description": "A collection of utility libraries used by other Facebook JS projects",
|
|
"main": "index.js",
|
|
"repository": "facebook/fbjs",
|
|
"scripts": {
|
|
"build": "gulp build",
|
|
"postbuild": "node node_modules/fbjs-scripts/node/check-lib-requires.js lib",
|
|
"lint": "eslint .",
|
|
"prepare": "yarn run build",
|
|
"pretest": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
|
|
"test": "NODE_ENV=test jest",
|
|
"test-babel-presets": "cd babel-preset && yarn install && yarn test",
|
|
"flow": "flow check src"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.5",
|
|
"babel-preset-fbjs": "file:../babel-preset-fbjs",
|
|
"del": "^2.2.0",
|
|
"fbjs-scripts": "file:../fbjs-scripts",
|
|
"flow-bin": "^0.99.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-babel": "^8.0.0",
|
|
"gulp-flatten": "^0.4.0",
|
|
"gulp-rename": "^2.0.0",
|
|
"immutable": "^3.7.6",
|
|
"jest-cli": "^23.6.0",
|
|
"merge-stream": "^1.0.0"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"flow/",
|
|
"index.js",
|
|
"lib/",
|
|
"module-map.json"
|
|
],
|
|
"jest": {
|
|
"automock": true,
|
|
"modulePathIgnorePatterns": [
|
|
"/lib/",
|
|
"/node_modules/"
|
|
],
|
|
"rootDir": "",
|
|
"setupFiles": [
|
|
"fbjs-scripts/jest/environment.js"
|
|
],
|
|
"roots": [
|
|
"<rootDir>/src"
|
|
],
|
|
"timers": "fake",
|
|
"transform": {
|
|
".*": "fbjs-scripts/jest/preprocessor.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"<rootDir>/node_modules/",
|
|
"<rootDir>/src/(?!(__forks__/fetch.js$|fetch/))"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"cross-fetch": "^3.1.5",
|
|
"fbjs-css-vars": "^1.0.0",
|
|
"loose-envify": "^1.0.0",
|
|
"object-assign": "^4.1.0",
|
|
"promise": "^7.1.1",
|
|
"setimmediate": "^1.0.5",
|
|
"ua-parser-js": "^1.0.35"
|
|
},
|
|
"devEngines": {
|
|
"node": ">=4.x",
|
|
"npm": ">=2.x"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
}
|
|
}
|