{
  "name": "@edrlab/thorium-web",
  "description": "Play with the capabilities of the Readium Web toolkit",
  "keywords": [
    "edrlab",
    "thorium",
    "demo",
    "toolkit",
    "web reader"
  ],
  "license": "BSD-3-Clause",
  "author": {
    "name": "EDRLab",
    "url": "https://www.edrlab.org"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/edrlab/thorium-web.git"
  },
  "bugs": {
    "url": "https://github.com/edrlab/thorium-web/issues"
  },
  "version": "1.5.5",
  "private": false,
  "files": [
    "./dist"
  ],
  "sideEffects": [
    "**/locales/**/*.json"
  ],
  "exports": {
    "./core/components": "./dist/core/Components/index.mjs",
    "./core/helpers": "./dist/core/Helpers/index.mjs",
    "./core/hooks": "./dist/core/Hooks/index.mjs",
    "./core/i18n": "./dist/i18n/index.mjs",
    "./core/lib": "./dist/lib/index.mjs",
    "./core/preferences": "./dist/preferences/index.mjs",
    "./audio": "./dist/components/Audio/index.mjs",
    "./audio/styles": "./dist/components/Audio/index.css",
    "./epub": "./dist/components/Epub/index.mjs",
    "./epub/styles": "./dist/components/Epub/index.css",
    "./misc": "./dist/components/Misc/index.mjs",
    "./misc/styles": "./dist/components/Misc/index.css",
    "./next": "./dist/next-lib/index.mjs",
    "./reader": "./dist/components/Reader/index.mjs",
    "./reader/styles": "./dist/components/Reader/index.css",
    "./webpub": "./dist/components/WebPub/index.mjs",
    "./webpub/styles": "./dist/components/WebPub/index.css"
  },
  "scripts": {
    "dev": "next dev",
    "build": "pnpm extract-locales && next build",
    "build:analyze": "npx next experimental-analyze",
    "start": "next start",
    "lint": "eslint .",
    "deploy": "npx @cloudflare/next-on-pages && npx wrangler pages deploy",
    "preinstall": "npx only-allow pnpm",
    "copy-locales": "cpx \"public/locales/**/*\" dist/locales",
    "copy-fonts": "cpx \"public/fonts/**/*\" dist/fonts",
    "extract-locales": "node scripts/extract-locales.mjs",
    "check-locales": "node scripts/check-locales.mjs",
    "update-locales": "pnpm remove @edrlab/thorium-locales && pnpm add @edrlab/thorium-locales@github:edrlab/thorium-locales && pnpm extract-locales && pnpm check-locales --summary --show-missing",
    "bundle": "pnpm extract-locales && tsup --config tsup.config.ts && pnpm copy-locales && pnpm copy-fonts",
    "increment": "node scripts/increment.mjs"
  },
  "peerDependencies": {
    "@readium/css": ">=2.0.5",
    "@readium/navigator": ">=2.6.1",
    "@readium/navigator-html-injectables": ">=2.4.4",
    "@readium/shared": ">=2.2.3",
    "@reduxjs/toolkit": "^2.11.2",
    "i18next": "^25.8.13",
    "i18next-browser-languagedetector": "^8.2.1",
    "i18next-http-backend": "^3.0.2",
    "motion": "^12.34.3",
    "react": "^19.2.4",
    "react-aria": "^3.46.0",
    "react-aria-components": "^1.15.1",
    "react-dom": "^19.2.4",
    "react-i18next": "^16.5.4",
    "react-modal-sheet": "5.2.1",
    "react-redux": "^9.2.0",
    "react-resizable-panels": "^3.0.6",
    "react-stately": "^3.44.0"
  },
  "dependencies": {
    "@edrlab/thorium-locales": "github:edrlab/thorium-locales",
    "@readium/css": ">=2.0.5",
    "@readium/navigator": ">=2.6.1",
    "@readium/navigator-html-injectables": ">=2.4.4",
    "@readium/shared": ">=2.2.3",
    "@reduxjs/toolkit": "^2.11.2",
    "classnames": "^2.5.1",
    "colorthief": "^3.3.1",
    "debounce": "^3.0.0",
    "i18next": "^25.8.13",
    "i18next-browser-languagedetector": "^8.2.1",
    "i18next-http-backend": "^3.0.2",
    "motion": "^12.34.3",
    "next": "16.1.6",
    "react": "^19.2.4",
    "react-aria": "^3.49.0",
    "react-aria-components": "^1.18.0",
    "react-dom": "^19.2.4",
    "react-i18next": "^16.5.4",
    "react-modal-sheet": "5.2.1",
    "react-redux": "^9.2.0",
    "react-resizable-panels": "^3.0.6",
    "react-stately": "^3.47.0"
  },
  "devDependencies": {
    "@svgr/webpack": "^8.1.0",
    "@types/css-modules": "^1.0.5",
    "@types/node": "^22.19.7",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "cpx2": "^8.0.0",
    "esbuild-plugin-svgr": "^3.1.1",
    "eslint": "^9.39.2",
    "eslint-config-next": "16.1.6",
    "eslint-plugin-unused-imports": "^4.4.1",
    "glob": "^13.0.6",
    "immer": "11.1.2",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3"
  }
}
