{
  "name": "lit-pdf-viewer",
  "description": "A PDF viewer web component built with Lit and PDF.js, with page navigation, zoom, and find-in-page search.",
  "license": "Apache-2.0",
  "version": "2.7.3",
  "files": [
    "dist",
    "scripts/install-assets.mjs"
  ],
  "bin": {
    "lit-pdf-viewer-install": "scripts/install-assets.mjs"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/korial29/lit-pdf-viewer.git"
  },
  "homepage": "https://korial29.github.io/lit-pdf-viewer/",
  "keywords": [
    "lit-pdf-viewer",
    "pdf",
    "pdf-viewer",
    "pdfjs",
    "pdf.js",
    "lit",
    "lit-element",
    "web-component",
    "web-components",
    "custom-element",
    "custom-elements"
  ],
  "author": "Ludovic Dupont <ludovic.dupont29@gmail.com>",
  "dependencies": {
    "lit": "^3.3.3",
    "pdfjs-dist": "^6.1.200"
  },
  "devDependencies": {
    "@open-wc/eslint-config": "^13.1.0",
    "@open-wc/testing-helpers": "^3.0.1",
    "@types/mocha": "^10.0.10",
    "@types/node": "^26.0.1",
    "@vitest/coverage-v8": "^4.1.9",
    "@vitest/ui": "^4.1.9",
    "c8": "^11.0.0",
    "eslint": "^10.6.0",
    "eslint-config-prettier": "^10.0.0",
    "eslint-plugin-html": "^8.0.0",
    "eslint-plugin-lit": "^2.3.1",
    "eslint-plugin-lit-a11y": "^5.1.1",
    "eslint-plugin-no-only-tests": "^3.1.0",
    "eslint-plugin-prettier": "^5.0.0",
    "eslint-plugin-wc": "^3.0.0",
    "jsdom": "^29.1.1",
    "pdfjs": "^2.4.7",
    "prettier": "^3.9.4",
    "sass": "^1.101.0",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.0.0",
    "typescript-plugin-css-modules": "^5.2.0",
    "vite": "^8.1.0",
    "vite-plugin-static-copy": "^4.1.1",
    "vitest": "^4.1.9"
  },
  "scripts": {
    "start": "rm -rf www/src www/assets www/pdfjs-dist www/style www/fonts && cp -r node_modules/pdfjs-dist www && cp -r assets www && cp -r assets/fonts www && cp -r assets/style www/style && cp -r src www && vite www --config vite.config.js",
    "build": "vite build",
    "build:demo": "BUILD_DEMO=true vite build",
    "lint:eslint": "eslint .",
    "format:eslint": "eslint . --fix",
    "lint:prettier": "prettier --check \"**/*.(js|ts)\"",
    "format:prettier": "prettier \"**/*.{js,ts}\" --write",
    "lint:tsc": "tsc --noEmit",
    "lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:tsc",
    "format": " npm run format:prettier && npm run format:eslint",
    "test": "vitest run --coverage",
    "test:ci": "vitest run --coverage --passWithNoTests",
    "test:update-snapshots": "vitest --update",
    "test:ui": "vitest --ui",
    "test:watch": "vitest --watch"
  }
}
