Files
smart-city-digital-twin-mar…/smart-app-city/frontend/node_modules/use-latest-callback/package.json
Eric FELIXINE e30ae8ed09 feat(smart-app): implement complete mobile app MVP
- 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
2026-06-01 18:00:35 -04:00

92 lines
2.0 KiB
JSON

{
"name": "use-latest-callback",
"version": "0.2.6",
"description": "React hook which returns the latest callback without changing the reference",
"repository": "https://github.com/satya164/use-latest-callback",
"author": "Satyajit Sahoo <satyajit.happy@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"use-event",
"use-callback"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"type": "commonjs",
"source": "./src/index.ts",
"main": "./lib/src/index.js",
"types": "./lib/src/index.d.ts",
"exports": {
".": {
"types": "./lib/src/index.d.ts",
"import": "./esm.mjs",
"default": "./lib/src/index.js"
}
},
"files": [
"src",
"lib",
"esm.mjs"
],
"scripts": {
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"test": "node --test",
"typecheck": "tsc --noEmit",
"prebuild": "del lib",
"build": "tsc --declaration",
"prepare": "yarn build",
"release": "release-it"
},
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@commitlint/config-conventional": "^12.1.4",
"@release-it/conventional-changelog": "^7.0.2",
"@types/react": "^18.0.10",
"commitlint": "^12.1.4",
"del-cli": "^4.0.1",
"eslint": "^8.53.0",
"eslint-config-satya164": "^3.2.0",
"prettier": "^3.0.3",
"react": "^17.0.2",
"release-it": "^16.2.1",
"typescript": "^5.2.2"
},
"eslintConfig": {
"extends": "satya164",
"env": {
"node": true,
"browser": true
},
"rules": {
"import/no-commonjs": "off"
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits"
},
"infile": "CHANGELOG.md"
}
}
}
}