mirror of
https://github.com/kvasonaft/fb2-reader.git
synced 2026-07-22 08:31:14 +00:00
- Remove node_modules and main.js from git (restored via npm install / npm run build) - Replace esbuild.config.mjs with esbuild CLI flags in package.json scripts - Refactor src/main.ts: FB2-tag-to-HTML mapping tables replace repetitive switch cases; shared copyId/renderBlockChildren/addNumberSetting helpers Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
25 lines
681 B
JSON
25 lines
681 B
JSON
{
|
|
"name": "fb2-reader",
|
|
"version": "0.1.0",
|
|
"description": "Read FictionBook (.fb2) files directly in Obsidian.",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"fflate": "^0.8.3"
|
|
}
|
|
}
|