Files
reader/web/package.json
T
hectorqin 47baee014e feat(ui): unify page feedback with global Notyf notifications
Route login, shelf, library, file operations, reading, sources and extension feedback through one compact themed notification host. Keep native modal feedback in the top layer, escape remote text, update progress in place and let reading controls receive clicks beneath message text. Cover lifecycle, error handling and layout with unit and Chromium checks.
2026-09-23 10:13:03 +08:00

37 lines
1.2 KiB
JSON

{
"name": "reader-client",
"version": "0.1.0",
"private": true,
"description": "Reader client: shared rendering layer for the H5 build and the Android WebView shell.",
"license": "AGPL-3.0-or-later",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -p tsconfig.json --noEmit && vite build",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run && tsx --test test/api.test.ts test/asset-url.test.ts test/paginator.test.ts test/window.test.ts test/windowed-toc.test.ts",
"test:watch": "vitest",
"icons": "node tools/icons/build.mjs",
"ui:review": "npm run build && node tools/ui-review/run.mjs",
"ui:review:only": "node tools/ui-review/run.mjs",
"ui:sources": "npm run build && node --import ../server/node_modules/tsx/dist/loader.mjs tools/ui-review/host-source-flow.mjs"
},
"dependencies": {
"jszip": "^3.10.1",
"lucide-preact": "^1.47.0",
"notyf": "^3.10.0"
},
"devDependencies": {
"@types/jsdom": "^30.0.0",
"@types/node": "^22.20.3",
"clipper-lib": "^6.4.2",
"jsdom": "^30.0.1",
"playwright": "^1.63.0",
"preact": "^10.29.8",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vitest": "^2.1.8"
}
}