Cards now carry a QR code holding the book's own record (call number, title, authors, ISBN, year), and the scanner reads it back to find or add that book. Call number selection no longer pads catalogue numbers with generated cutters. A number is "exact" only when it comes verbatim from a record for this edition; a bare class is a hint that steers the other-edition and similar-books lookups; a record fetched by LCCN must list the book's ISBN to count as this edition. "Look up again" bypasses every cached result, and shelf order breaks ties by author then title. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
29 lines
703 B
JSON
29 lines
703 B
JSON
{
|
|
"name": "booksorter",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "node --test \"src/**/*.test.ts\"",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "node scripts/build-web.ts",
|
|
"start": "npm run build && node src/server/main.ts"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^2.1.9",
|
|
"@pdf-lib/fontkit": "^1.1.1",
|
|
"barcode-detector": "^3.2.4",
|
|
"dejavu-fonts-ttf": "^2.37.3",
|
|
"fast-xml-parser": "^5.12.1",
|
|
"hono": "^4.13.19",
|
|
"pdf-lib": "^1.17.1",
|
|
"preact": "^11.2.0",
|
|
"qrcode-generator": "^2.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.6.6",
|
|
"esbuild": "^0.28.2",
|
|
"typescript": "^7.0.2"
|
|
}
|
|
}
|