✨ 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
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "cluster-key-slot",
|
|
"version": "1.1.2",
|
|
"description": "Generates CRC hashes for strings - for use by node redis clients to determine key slots.",
|
|
"main": "lib/index.js",
|
|
"types": "index.d.ts",
|
|
"scripts": {
|
|
"benchmark": "node ./benchmark",
|
|
"posttest": "eslint ./lib && npm run coveralls",
|
|
"coveralls": "cat ./coverage/lcov.info | coveralls",
|
|
"test": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec",
|
|
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Salakar/cluster-key-slot.git"
|
|
},
|
|
"keywords": [
|
|
"redis",
|
|
"hash",
|
|
"crc",
|
|
"slot",
|
|
"calc",
|
|
"javascript",
|
|
"node",
|
|
"node_redis",
|
|
"ioredis"
|
|
],
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"benchmark": "^2.1.0",
|
|
"codeclimate-test-reporter": "^0.3.1",
|
|
"coveralls": "^2.11.9",
|
|
"eslint": "^3.5.0",
|
|
"eslint-config-airbnb-base": "^7.1.0",
|
|
"eslint-plugin-import": "^1.8.0",
|
|
"istanbul": "^0.4.0",
|
|
"mocha": "^3.0.2"
|
|
},
|
|
"author": {
|
|
"name": "Mike Diarmid",
|
|
"email": "mike.diarmid@gmail.com",
|
|
"url": "http://github.com/Salakar/"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/Salakar/cluster-key-slot/issues"
|
|
},
|
|
"homepage": "https://github.com/Salakar/cluster-key-slot#readme",
|
|
"directories": {
|
|
"test": "test",
|
|
"lib": "lib"
|
|
}
|
|
}
|