- Added main application logic in `src-tauri/src/lib.rs` and `src-tauri/src/main.rs`. - Configured Tauri settings in `tauri.conf.json`. - Created basic styling in `src/App.css`. - Implemented main application component in `src/App.tsx` with greeting functionality. - Included Preact logo in `src/assets/preact.svg`. - Set up rendering in `src/main.tsx`. - Defined TypeScript environment in `vite-env.d.ts` and configured TypeScript settings in `tsconfig.json` and `tsconfig.node.json`. - Configured Vite for Tauri development in `vite.config.ts`.
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "localaiapp",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
<<<<<<< HEAD
|
|
"dev:ui": "vite",
|
|
"install:python-deps": "node scripts/install-python-deps.js",
|
|
"compile:sidecar": "python compile_sidecar.py",
|
|
"predev": "pnpm install:python-deps && pnpm compile:sidecar",
|
|
=======
|
|
>>>>>>> ce33464 (feat: initialize Tauri application with Preact framework)
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
<<<<<<< HEAD
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@fontsource-variable/open-sans": "^5.2.7",
|
|
"@fontsource/inter": "^5.2.8",
|
|
"@mui/joy": "5.0.0-beta.52",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-opener": "^2",
|
|
"dotenv": "^17.2.3",
|
|
"lucide-react": "^0.562.0",
|
|
"preact": "^10.25.1",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@preact/preset-vite": "^2.9.3",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@tauri-apps/cli": "^2",
|
|
"autoprefixer": "^10.4.23",
|
|
"concurrently": "^9.2.1",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.3"
|
|
=======
|
|
"preact": "^10.25.1",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-opener": "^2"
|
|
},
|
|
"devDependencies": {
|
|
"@preact/preset-vite": "^2.9.3",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.3",
|
|
"@tauri-apps/cli": "^2"
|
|
>>>>>>> ce33464 (feat: initialize Tauri application with Preact framework)
|
|
}
|
|
}
|