{
  "name": "@printwithsynergy/lens-pdf",
  "version": "0.4.0-beta.52",
  "type": "module",
  "description": "LensPDF — host-agnostic PDF viewer core. Plugin-driven canvas viewer with overlay / panel / toolbar slots.",
  "license": "UNLICENSED",
  "author": "Think Neverland LLC",
  "homepage": "https://github.com/Printwithsynergy/lens-pdf#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Printwithsynergy/lens-pdf.git"
  },
  "bugs": {
    "url": "https://github.com/Printwithsynergy/lens-pdf/issues"
  },
  "keywords": [
    "pdf",
    "viewer",
    "react",
    "canvas",
    "annotation",
    "preflight",
    "separations",
    "cmyk",
    "tac",
    "pdfjs"
  ],
  "publishConfig": {
    "access": "public"
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./components": {
      "types": "./dist/components/index.d.ts",
      "import": "./dist/components/index.js"
    },
    "./plugin": {
      "types": "./dist/plugin/index.d.ts",
      "import": "./dist/plugin/index.js"
    },
    "./host": {
      "types": "./dist/host/index.d.ts",
      "import": "./dist/host/index.js"
    },
    "./fallback-pdfjs": {
      "types": "./dist/fallback-pdfjs/index.d.ts",
      "import": "./dist/fallback-pdfjs/index.js"
    },
    "./browser": {
      "types": "./dist/browser/index.d.ts",
      "import": "./dist/browser/index.js"
    },
    "./swatch": {
      "types": "./dist/browser/pantone-gold.d.ts",
      "import": "./dist/browser/pantone-gold.js"
    },
    "./worker": {
      "types": "./dist/components/pdfjsWorker.d.ts",
      "import": "./dist/components/pdfjsWorker.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/types/index.js"
    },
    "./adapters": {
      "types": "./dist/adapters/index.d.ts",
      "import": "./dist/adapters/index.js"
    },
    "./units": {
      "types": "./dist/units/index.d.ts",
      "import": "./dist/units/index.js"
    }
  },
  "typesVersions": {
    "*": {
      "components": [
        "./dist/components/index.d.ts"
      ],
      "host": [
        "./dist/host/index.d.ts"
      ],
      "plugin": [
        "./dist/plugin/index.d.ts"
      ],
      "fallback-pdfjs": [
        "./dist/fallback-pdfjs/index.d.ts"
      ],
      "browser": [
        "./dist/browser/index.d.ts"
      ],
      "swatch": [
        "./dist/browser/pantone-gold.d.ts"
      ],
      "types": [
        "./dist/types/index.d.ts"
      ],
      "adapters": [
        "./dist/adapters/index.d.ts"
      ],
      "units": [
        "./dist/units/index.d.ts"
      ]
    }
  },
  "files": [
    "dist",
    "docs",
    "README.md"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.build.json && node scripts/fix-import-extensions.mjs",
    "typecheck": "tsc -p tsconfig.json",
    "test": "vitest run --exclude '**/node_modules/**' --exclude '**/dist/**' --exclude 'server/**'",
    "test:watch": "vitest --exclude '**/node_modules/**' --exclude '**/dist/**' --exclude 'server/**'",
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "prepare": "tsc -p tsconfig.build.json && node scripts/fix-import-extensions.mjs"
  },
  "dependencies": {
    "pdfjs-dist": "^6.0.227",
    "react-pdf": "^10.4.1",
    "react-zoom-pan-pinch": "^4.0.3"
  },
  "peerDependencies": {
    "@printwithsynergy/codex-client": "^1.15.0",
    "fabric": "^7.3.1",
    "react": "^19.0.0",
    "react-dom": "^19.0.0"
  },
  "peerDependenciesMeta": {
    "fabric": {
      "optional": true
    },
    "@printwithsynergy/codex-client": {
      "optional": true
    }
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.16",
    "@testing-library/react": "^16.3.2",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "@vitejs/plugin-react": "^6.0.2",
    "fabric": "^7.3.1",
    "jsdom": "^29.1.1",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "typescript": "^6.0.3",
    "vitest": "4.1.9"
  }
}
