audiobookshelf/client/package.json
Stephen Fenton a498fdf17d Fix EPUB.js CFI navigation bug
- Add patch-package to client dependencies
- Add postinstall script to apply patches automatically
- Add patch for EPUB.js v0.3.93 to fix CFI navigation
- Changes scrollBy to scrollTo in continuous manager for proper absolute positioning
- Fixes issue where CFI navigation loads content but target is outside viewport

This resolves CFI-based features like bookmarks, highlights, and reading position sync.
2025-07-29 17:39:02 -07:00

49 lines
1.5 KiB
JSON

{
"name": "audiobookshelf-client",
"version": "2.26.3",
"buildNumber": 1,
"description": "Self-hosted audiobook and podcast client",
"main": "index.js",
"scripts": {
"dev": "nuxt",
"dev2": "nuxt --hostname localhost --port 1337",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"test": "npm run compile-tailwind && cypress run --component --browser chrome",
"test-visually": "npm run compile-tailwind && cypress open --component --browser chrome",
"compile-tailwind": "npx @tailwindcss/cli -i ./assets/tailwind.css -o ./cypress/support/tailwind.compiled.css",
"postinstall": "patch-package"
},
"author": "advplyr",
"license": "ISC",
"dependencies": {
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/proxy": "^2.1.0",
"@tailwindcss/postcss": "^4.0.13",
"@teckel/vue-pdf": "^4.3.5",
"core-js": "^3.16.0",
"cron-parser": "^4.7.1",
"date-fns": "^2.25.0",
"epubjs": "^0.3.88",
"fast-average-color": "^9.4.0",
"hls.js": "^1.5.7",
"libarchive.js": "^1.3.0",
"nuxt": "^2.18.1",
"nuxt-socket-io": "^1.1.18",
"trix": "^1.3.1",
"v-click-outside": "^3.1.2",
"vue-toastification": "^1.7.11",
"vuedraggable": "^2.24.3"
},
"devDependencies": {
"@nuxtjs/pwa": "^3.3.5",
"@tailwindcss/cli": "^4.0.14",
"patch-package": "^8.0.0",
"postcss": "^8.3.6",
"tailwindcss": "^4.0.13"
},
"optionalDependencies": {
"cypress": "^13.7.3"
}
}