{
  "name": "react-doc-render",
  "description": "react-doc-render is a lightweight React library for rendering documents of various popular MIME types directly in the browser. It supports PDFs, images, text, Microsoft Office documents, audio, video, and ZIP archives. This library provides a unified interface to handle different content types with customizable options for loading messages, file size limits, and translations.",
  "version": "0.1.54",
  "private": false,
  "author": "Evgenii Nikiforov <e@nikiforov.org>",
  "license": "MIT",
  "keywords": [
    "archive",
    "audio",
    "audio-player",
    "bmp",
    "browser",
    "content-type",
    "cross-platform",
    "csv",
    "customizable",
    "doc-render",
    "document-rendering",
    "document-viewer",
    "docx",
    "excel",
    "file",
    "file-handler",
    "file-preview",
    "file-render",
    "file-viewer",
    "html",
    "image",
    "image-viewer",
    "json",
    "lightweight",
    "media-player",
    "mime-type",
    "microsoft-office",
    "multimedia",
    "openxml",
    "pdf",
    "pdf-viewer",
    "react",
    "react-component",
    "spreadsheet",
    "svg",
    "text",
    "tiff",
    "video",
    "video-player",
    "viewer",
    "word",
    "xlsx",
    "zip"
  ],
  "files": [
    "dist/",
    "README.md",
    "LICENSE"
  ],
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.js",
  "homepage": "https://github.com/nikiforov-org/react-doc-render#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nikiforov-org/react-doc-render.git"
  },
  "bugs": {
    "url": "https://github.com/nikiforov-org/react-doc-render/issues"
  },
  "scripts": {
    "dev": "npm run start",
    "start": "PUBLIC_URL=/ react-scripts start",
    "build": "npm run build:dist",
    "build:dist": "npm run build:types && npm run build:js",
    "build:types": "./node_modules/.bin/tsc --project ./tsconfig.types.json",
    "build:js": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files --extensions \".ts,.tsx\" --source-maps false",
    "build:copy": "cp node_modules/pdfjs-dist/build/pdf.worker.min.mjs public/pdf.worker.min.js"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "dependencies": {
    "canvas-datagrid": "^0.4.7",
    "mammoth": "^1.8.0",
    "pdfjs-dist": "^4.6.82",
    "tiff": "^6.1.1",
    "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
  },
  "devDependencies": {
    "@babel/cli": "^7.25.7",
    "@babel/core": "^7.25.7",
    "@babel/preset-env": "^7.25.7",
    "@babel/preset-react": "^7.25.7",
    "@babel/preset-typescript": "^7.25.7",
    "@types/node": "^16.18.112",
    "@types/react": "^18.3.11",
    "@types/react-dom": "^18.3.0",
    "react-scripts": "5.0.1",
    "sass": "^1.79.4",
    "typescript": "^4.9.5"
  },
  "peerDependencies": {
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  }
}