Files
reader/web/package.json
T
hectorqin 73f9eb6e20 feat(media): add isolated media libraries and playback
Support local and OpenList libraries, metadata, independent media navigation, themes, and audio/video playback. Preserve approved v2 prototypes and current documentation; archive superseded review artifacts and keep generated validation output outside version control.
2026-09-27 18:22:51 +08:00

40 lines
1.3 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": {
"fast-xml-parser": "^4.5.1",
"jszip": "^3.10.1",
"lucide-preact": "^1.47.0",
"notyf": "^3.10.0",
"plyr": "3.8.4",
"sweetalert2": "^11.26.25"
},
"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"
}
}