f0ce25991f
- Add remark-gfm for GitHub Flavored Markdown support - Create dedicated MarkdownContent component - Improved message bubble padding (16px 20px) for better spacing - Code blocks now in separate box with dark background (#1e1e1e) - Code blocks show language label in blue accent header - Fixed list indentation to align properly with message text - Lists have consistent spacing (margin/padding) - Better blockquote styling with background and border - Improved table styling with borders and alternating row colors - Support for all common Markdown elements (headings, links, bold, italic, hr) - All 52 tests passing
37 lines
978 B
JSON
37 lines
978 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",
|
|
"react-markdown": "^10.1.0",
|
|
"remark-gfm": "^4.0.1"
|
|
},
|
|
"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"
|
|
}
|
|
}
|