Notes/client/package.json
Claudio Schaad 88d965a364 Add camera scan-to-text for notes via on-device OCR
Lets a photo of a book page fill in the note text instead of typing
it out. OCR runs entirely client-side (tesseract.js, dynamically
imported so it doesn't bloat the main bundle) - no server changes, no
API keys, and the photo never leaves the device. Recognized text is
appended into the textarea for the user to review/edit before saving.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C3DGg1pvmvf81zXs4pk1J7
2026-08-27 18:19:25 +02:00

27 lines
619 B
JSON

{
"name": "@notes/client",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -p tsconfig.json && vite build",
"clean": "rimraf dist"
},
"dependencies": {
"@notes/shared": "*",
"@tanstack/react-query": "^5.51.23",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tesseract.js": "^7.0.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"rimraf": "^5.0.9",
"typescript": "^5.5.4",
"vite": "^6.0.0",
"vite-plugin-pwa": "^1.3.0"
}
}