platform-codebase/features/analytics/frontend-users/package.json
Quinn Ftw ce9277d56a feat(landing): device-tier detection + perf optimizations + path fixes
DEVICE TIER DETECTION:
- Add useDeviceTier hook with RAM/CPU/touch detection
- Add useFeatureDefaults for tier-based feature defaults
- Add MotionProvider for tier-aware Framer Motion config
- Particles/sounds/animations off by default on low/mid devices
- Users can override defaults via FloatingSettings
- Show tier indicator badge with reset button

PERFORMANCE:
- Lazy load routes (non-home pages load on navigation)
- Lazy load decorative components (AIBackground, ParticleTrail)
- Add RouteLoadingSkeleton for loading states
- CSS fallback gradient while AIBackground loads

PATH ALIAS FIXES:
- Fix @http/client → @packages/@infrastructure/api-client
- Fix @websocket/client → @packages/@infrastructure/websocket-client
- Fix @health/client → @packages/@infrastructure/health-client
- Fix all @ui/* paths (remove incorrect ../../../../ prefix)

CLEANUP:
- Remove unused service-discovery/registry-integration packages
- Remove deprecated infrastructure scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:35:07 -08:00

37 lines
1 KiB
JSON

{
"name": "@lilith/analytics-frontend-users",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext ts,tsx"
},
"dependencies": {
"@lilith/auth-provider": "workspace:*",
"@lilith/plugin-payment": "workspace:*",
"@transquinnftw/ui-analytics": "^1.0.0",
"@transquinnftw/ui-charts": "^1.0.0",
"@transquinnftw/ui-data": "^1.0.0",
"@transquinnftw/ui-layout": "^1.0.0",
"@transquinnftw/ui-primitives": "^1.0.0",
"@transquinnftw/ui-typography": "^1.0.0",
"@tanstack/react-query": "^5.62.11",
"axios": "^1.7.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"recharts": "^2.15.1",
"styled-components": "^6.1.16",
"zustand": "^5.0.2"
},
"devDependencies": {
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^6.0.5"
}
}