mirror of
https://github.com/hectorqin/reader.git
synced 2026-11-10 21:11:08 +08:00
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.
34 lines
904 B
JSON
34 lines
904 B
JSON
{
|
|
"name": "reader-server",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Self-hosted精品书库 server: mount your own book directory, optionally read-only, and sync shelves/progress/notes across clients.",
|
|
"license": "AGPL-3.0-or-later",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/main.ts",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"start": "node dist/main.js",
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"test": "tsx --test test/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/multipart": "^9.0.3",
|
|
"fast-xml-parser": "^4.5.1",
|
|
"fastify": "^5.2.1",
|
|
"htmlparser2": "^12.0.0",
|
|
"jszip": "^3.10.1",
|
|
"pino": "^9.6.0",
|
|
"sanitize-html": "^2.17.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.13.1",
|
|
"@types/sanitize-html": "^2.16.1",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|