- 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
70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"name": "@callstack/react-theme-provider",
|
|
"version": "3.0.9",
|
|
"description": "Theme provider for react and react-native applications",
|
|
"main": "./lib/index.js",
|
|
"typings": "./typings/index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"typings"
|
|
],
|
|
"scripts": {
|
|
"flow": "flow",
|
|
"typescript": "tsc",
|
|
"lint": "eslint .",
|
|
"prepare": "babel src --out-dir lib --ignore '**/__tests__/**' --source-maps --delete-dir-on-start && flow-copy-source -i '**/__tests__/**' src lib",
|
|
"test": "jest",
|
|
"example": "yarn link && cd examples/web && yarn link @callstack/react-theme-provider && yarn start"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/callstack/react-theme-provider.git"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"react-native",
|
|
"theme",
|
|
"provider"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/callstack/react-theme-provider/issues"
|
|
},
|
|
"homepage": "https://github.com/callstack/react-theme-provider#readme",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.3.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.3.4",
|
|
"@babel/preset-env": "^7.3.4",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@callstack/eslint-config": "^3.0.2",
|
|
"@types/react": "^16.8.8",
|
|
"eslint": "^5.15.1",
|
|
"flow-bin": "^0.94.0",
|
|
"flow-copy-source": "^2.0.3",
|
|
"jest": "^24.5.0",
|
|
"prettier": "^1.16.4",
|
|
"react": "^16.8.4",
|
|
"react-dom": "^16.8.4",
|
|
"typescript": "^3.3.3333"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.3.0"
|
|
},
|
|
"dependencies": {
|
|
"deepmerge": "^3.2.0",
|
|
"hoist-non-react-statics": "^3.3.0"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/typings/"
|
|
]
|
|
}
|
|
}
|