Files
TUIkit/docs/package.json
T
phranck 982c369853 Feat: Migrate docs site from Next.js to Astro with mobile performance optimizations
- Migrate landing page and dashboard from Next.js 16 to Astro 5
- Remove Framer Motion dependency (saves ~122KB gzipped)
- Lazy-load Howler.js audio (only on power button click)
- Disable expensive CSS effects on mobile (<768px):
  - backdrop-blur replaced with solid backgrounds
  - Cloud animations simplified (no blur, static)
  - Rain canvas and SpinnerLights skip on mobile
  - Avatar filters reduced to grayscale+brightness
- Optimize hydration: client:idle for decorative components
- Combine Google Fonts requests (2 -> 1)
- Remove audio preloading (lazy-loaded instead)
- Fix process.env -> import.meta.env for Astro compatibility
- Update Languages icon from Swift logo to code brackets
2026-02-07 13:04:18 +01:00

33 lines
816 B
JSON

{
"name": "tuikit-landing",
"type": "module",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"prebuild": "tsx scripts/generate-terminal-data.ts && tsx scripts/update-plans-data.ts",
"build": "astro build",
"preview": "astro preview",
"update:plans": "tsx scripts/update-plans-data.ts"
},
"dependencies": {
"@astrojs/react": "^4.3.1",
"@heroicons/react": "^2.2.0",
"astro": "^5.10.3",
"howler": "^2.2.4",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-markdown": "^9.0.1"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.10",
"@types/howler": "^2.2.12",
"@types/react": "^19",
"@types/react-dom": "^19",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5"
}
}