Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.67 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "crosspoint-sync",
"version": "0.2.1",
"description": "Reading progress sync, stats and highlights for any KOSync-compatible e-reader. Self-hostable, with a companion app. Syncs with 3rd party connectors such as Hardcover, Spotify, Audiobookshelf, BookOrbit, BookFusion, Readest, and Readwise.",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"scripts": {
"dev": "tsx watch --env-file-if-exists=.env src/index.ts",
"start": "node dist/index.js",
"build": "tsc -p tsconfig.json",
"build:koreader": "npm run build && node scripts/package-koreader.mjs",
"test:koreader": "lua koreader/tests/sync_test.lua && luajit koreader/tests/library_annotations_test.lua && luajit koreader/tests/background_test.lua && luajit koreader/tests/transport_test.lua",
"release:koreader": "bash scripts/release-koreader.sh",
"build:frontend": "npm ci --prefix app --ignore-scripts && npm run build --prefix app",
"test": "vitest run --dir test",
"test:watch": "vitest",
"preversion": "npm test",
"postversion": "git push --follow-tags && gh release create v$npm_package_version --generate-notes"
},
"engines": {
"node": ">=22.13"
},
"dependencies": {
"@hono/node-server": "^1.13.7",
"@mozilla/readability": "^0.6.0",
"@xmldom/xmldom": "^0.9.12",
"hono": "^4.6.16",
"jpeg-js": "^0.4.4",
"linkedom": "^0.18.15",
"opentype.js": "^1.3.4",
"pngjs": "^7.0.0",
"yauzl": "^3.4.0"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/opentype.js": "^1.3.10",
"@types/pngjs": "^6.0.5",
"@types/yauzl": "^3.4.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vitest": "^3.2.7"
}
}