mirror of
https://github.com/hectorqin/reader.git
synced 2026-11-12 05:50:54 +08:00
35 lines
1.2 KiB
JSON
35 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/sources-e2e.mjs"
|
|
},
|
|
"dependencies": {
|
|
"jszip": "^3.10.1",
|
|
"lucide-preact": "^1.47.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jsdom": "^30.0.0",
|
|
"@types/node": "^22.20.3",
|
|
"clipper-lib": "^6.4.2",
|
|
"jsdom": "^30.0.1",
|
|
"preact": "^10.29.8",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3",
|
|
"vite": "^6.0.7",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|