Files
Laca-City/backend/node_modules/@paralleldrive/cuid2/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

70 lines
1.8 KiB
JSON

{
"name": "@paralleldrive/cuid2",
"private": false,
"types": "index.d.ts",
"files": [
"src/index.js",
"index.js",
"index.d.ts"
],
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint --fix",
"typescript": "npx -p typescript tsc --esModuleInterop --rootDir . src/index-test.js --noEmit --allowJs --checkJs --target es2020 --moduleResolution node && echo 'TypeScript Complete.'",
"test": "NODE_ENV=test node src/index-test.js",
"test-color": "NODE_ENV=test node src/index-test.js | tap-nirvana",
"collision-test": "NODE_ENV=test node src/collision-test.js | tap-nirvana",
"histogram": "NODE_ENV=test node src/histogram.js | tap-nirvana",
"watch": "watch 'npm run -s test | tap-nirvana && npm run -s lint && npm run -s typescript' src",
"update": "updtr",
"release": "release-it"
},
"pre-commit": [
"lint",
"test-color",
"collision-test"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ericelliott/cuid2.git"
},
"keywords": [
"uuid",
"guid",
"cuid",
"unique",
"id",
"ids",
"identifier",
"identifiers"
],
"author": "Eric Elliott",
"license": "MIT",
"bugs": {
"url": "https://github.com/ericelliott/cuid2/issues"
},
"homepage": "https://github.com/ericelliott/cuid2#readme",
"devDependencies": {
"eslint": "8.30.0",
"eslint-config-next": "13.1.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"next": "13.1.1",
"pre-commit": "1.2.2",
"prettier": "2.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"release-it": "15.5.1",
"riteway": "7.0.0",
"tap-nirvana": "1.1.0",
"updtr": "4.0.0",
"watch": "1.0.2"
},
"dependencies": {
"@noble/hashes": "^1.1.5"
},
"version": "2.2.2"
}