7928fc1f00
- Convert all .js/.jsx files to .ts/.tsx - Add TypeScript configuration (tsconfig.json, tsconfig.node.json) - Update vite.config.js to vite.config.ts - Add TypeScript type definitions (@types/react, @types/react-dom, @types/node) - Replace npm with pnpm (pnpm-lock.yaml) - Add model configuration option for LLM API - Update package.json scripts for TypeScript build - All 52 tests passing
35 lines
917 B
JSON
35 lines
917 B
JSON
{
|
|
"name": "light-chat",
|
|
"version": "1.0.0",
|
|
"description": "Lightweight chat app for connecting to LLM APIs - TypeScript + pnpm",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor/android": "^5.0.0",
|
|
"@capacitor/cli": "^5.0.0",
|
|
"@capacitor/core": "^5.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^5.17.0",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.5.0",
|
|
"@types/node": "^25.3.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"jsdom": "^22.0.0",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^4.4.0",
|
|
"vitest": "^0.34.0"
|
|
}
|
|
}
|