Migrate to vite

This commit is contained in:
Rami Bitar
2026-05-03 17:10:49 -04:00
parent b5cca5a6d8
commit 6cbbccf3bf
22 changed files with 661 additions and 3041 deletions

View File

@@ -2,13 +2,15 @@
"name": "react-editor-demo",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"start": "vite preview"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.74",
"@ai-sdk/react": "^2.0.0",
"@radix-ui/react-accordion": "^1.2.11",
"@radix-ui/react-avatar": "^1.1.10",
@@ -37,7 +39,6 @@
"embla-carousel-react": "^8.6.0",
"framer-motion": "^12.16.0",
"lucide-react": "^0.525.0",
"next": "^16.0.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-router": "^7.0.0",
@@ -51,8 +52,8 @@
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"eslint": "^9.0.0",
"eslint-config-next": "^16.0.0",
"typescript": "^5.5.4"
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.5.4",
"vite": "^6.0.0"
}
}