kvasonaft_fb2-reader/package.json
kvasonaft 1e0215f412 Release 0.1.4: avoid static references to 1.13-only SettingTab.update
The catalog lint (obsidianmd/no-unsupported-api) flagged the two
this.update() calls: the method exists only on Obsidian 1.13+, above
the declared minAppVersion 1.7.2. Route both through refreshTab(),
which looks update() up at runtime and falls back to display() on
older versions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 10:30:42 +03:00

22 lines
711 B
JSON

{
"name": "fiction-book-reader",
"version": "0.1.4",
"description": "Read FictionBook (.fb2) files as formatted books with chapters, footnotes, images, and remembered reading positions.",
"main": "main.js",
"scripts": {
"dev": "esbuild src/main.ts --bundle --external:obsidian --format=cjs --target=es2021 --outfile=main.js --sourcemap=inline --watch",
"build": "tsc -noEmit -skipLibCheck && esbuild src/main.ts --bundle --external:obsidian --format=cjs --target=es2021 --outfile=main.js"
},
"keywords": [
"obsidian",
"fb2"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^20.0.0",
"esbuild": "^0.21.0",
"obsidian": "latest",
"tslib": "^2.6.0",
"typescript": "^5.4.0"
}
}