Files
Laca-City/frontend/node_modules/use-debounce/package.json
PhongPham c65cc97a33 🎯 MapView v2.0 - Global Deployment Ready
 MAJOR FEATURES:
• Auto-zoom intelligence với smart bounds fitting
• Enhanced 3D GPS markers với pulsing effects
• Professional route display với 6-layer rendering
• Status-based parking icons với availability indicators
• Production-ready build optimizations

🗺️ AUTO-ZOOM FEATURES:
• Smart bounds fitting cho GPS + selected parking
• Adaptive padding (50px) cho visual balance
• Max zoom control (level 16) để tránh quá gần
• Dynamic centering khi không có selection

🎨 ENHANCED VISUALS:
• 3D GPS marker với multi-layer pulse effects
• Advanced parking icons với status colors
• Selection highlighting với animation
• Dimming system cho non-selected items

🛣️ ROUTE SYSTEM:
• OpenRouteService API integration
• Multi-layer route rendering (glow, shadow, main, animated)
• Real-time distance & duration calculation
• Visual route info trong popup

📱 PRODUCTION READY:
• SSR safe với dynamic imports
• Build errors resolved
• Global deployment via Vercel
• Optimized performance

🌍 DEPLOYMENT:
• Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app
• Bundle size: 22.8 kB optimized
• Global CDN distribution
• HTTPS enabled

💾 VERSION CONTROL:
• MapView-v2.0.tsx backup created
• MAPVIEW_VERSIONS.md documentation
• Full version history tracking
2025-07-20 19:52:16 +07:00

115 lines
2.9 KiB
JSON

{
"name": "use-debounce",
"version": "10.0.5",
"description": "Debounce hook for react",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.module.js",
"esmodule": "dist/index.mjs",
"umd:main": "dist/index.umd.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"module": "./dist/index.module.js",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"scripts": {
"jest": "jest",
"size": "npm run build-only && size-limit",
"test": "jest && eslint \"src/**.ts\"",
"build-only": "rm -rf ./dist/*; microbundle build --entry src/index.ts --name use-debounce --tsconfig tsconfig.json",
"build": "npm run test && npm run build-only && size-limit",
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">= 16.0.0"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/xnimorz/use-debounce.git"
},
"keywords": [
"debounce",
"react-hook",
"react"
],
"author": "Nik (nik@xnim.me)",
"license": "MIT",
"bugs": {
"url": "https://github.com/xnimorz/use-debounce/issues"
},
"files": [
"dist"
],
"peerDependencies": {
"react": "*"
},
"homepage": "https://github.com/xnimorz/use-debounce#readme",
"devDependencies": {
"@size-limit/preset-small-lib": "^10.0.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.7",
"@types/node": "^20.8.9",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-standard": "^4.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"size-limit": "^10.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"resolutions": {
"kind-of": "6.0.3"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "1.2 KB"
},
{
"path": "dist/index.module.js",
"limit": "1.2 KB"
},
{
"path": "dist/index.umd.js",
"limit": "1.2 KB"
},
{
"path": "dist/index.js",
"import": "{ useDebounce }",
"limit": "1.2 KB"
},
{
"path": "dist/index.js",
"import": "{ useDebouncedCallback }",
"limit": "1.2 KB"
},
{
"path": "dist/index.js",
"import": "{ useThrottledCallback }",
"limit": "1.2 KB"
}
]
}