Replaces custom IndexedDB implementation with Dexie ORM, eliminating 850+ lines of boilerplate code and introducing reactive live queries across all document types. Transforms document management from imperative refresh patterns to automatic reactive updates using dexie-react-hooks. Simplifies TTS backend by removing concurrency semaphore while maintaining request de-duplication through in-flight tracking. Streamlines document hooks by removing manual state management and refresh methods. Updates package dependencies and type definitions to support new database architecture while maintaining full backward compatibility for existing documents and settings. BREAKING CHANGE: Document hooks no longer expose refresh() methods as updates are now reactive through live queries.
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "openreader-webui",
|
|
"version": "0.4.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack -p 3003",
|
|
"build": "next build",
|
|
"start": "next start -p 3003",
|
|
"lint": "next lint",
|
|
"test": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^2.2.9",
|
|
"@types/howler": "^2.2.12",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vercel/analytics": "^1.5.0",
|
|
"cmpstr": "^3.0.4",
|
|
"compromise": "^14.14.4",
|
|
"core-js": "^3.46.0",
|
|
"dexie": "^4.2.1",
|
|
"dexie-react-hooks": "^4.2.0",
|
|
"epubjs": "^0.3.93",
|
|
"howler": "^2.2.4",
|
|
"lru-cache": "^11.2.2",
|
|
"next": "^15.5.6",
|
|
"openai": "^4.104.0",
|
|
"pdfjs-dist": "4.8.69",
|
|
"react": "^19.2.0",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "^19.2.0",
|
|
"react-dropzone": "^14.3.8",
|
|
"react-hot-toast": "^2.6.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-pdf": "^9.2.1",
|
|
"react-reader": "^2.0.15",
|
|
"remark-gfm": "^4.0.1",
|
|
"uuid": "^11.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@playwright/test": "^1.56.1",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@types/node": "^20.19.24",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-next": "^15.5.6",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^3.4.18",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|