{
  "name": "react-barcode-scanner",
  "version": "4.0.1",
  "description": "A barcode scanner base on Barcode Detector",
  "keywords": [
    "react",
    "barcode detector",
    "barcode-detector",
    "barcode scanner",
    "barcode-scanner",
    "qrcode"
  ],
  "license": "MIT",
  "homepage": "https://reactbarcodescanner.vercel.app/",
  "bugs": {
    "url": "https://github.com/preflower/react-barcode-scanner/issues"
  },
  "repository": "https://github.com/preflower/react-barcode-scanner",
  "author": "Ted Lin <preflower.lin@gmail.com> (https://github.com/preflower)",
  "files": [
    "esm/",
    "lib/"
  ],
  "main": "lib/index.js",
  "module": "esm/index.js",
  "types": "lib/index.d.ts",
  "exports": {
    ".": {
      "require": {
        "types": "./lib/index.d.ts",
        "default": "./lib/index.js"
      },
      "import": {
        "types": "./esm/index.d.ts",
        "default": "./esm/index.js"
      }
    },
    "./polyfill": {
      "require": {
        "types": "./lib/polyfill.d.ts",
        "default": "./lib/polyfill.js"
      },
      "import": {
        "types": "./esm/polyfill.d.ts",
        "default": "./esm/polyfill.js"
      }
    }
  },
  "typings": "lib/index.d.ts",
  "publishConfig": {
    "access": "public"
  },
  "peerDependencies": {
    "react": "*",
    "react-dom": "*"
  },
  "dependencies": {
    "@preflower/barcode-detector-polyfill": "^0.9.21",
    "tslib": "^2.8.1",
    "webrtc-adapter": "^9.0.3"
  },
  "devDependencies": {
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "react": "^19.0.3",
    "react-dom": "^19.0.3",
    "typescript": "^5.9.3"
  },
  "scripts": {
    "build:cjs": "tsc",
    "build:es": "tsc -m esNext --outDir esm",
    "build": "pnpm build:cjs && pnpm build:es"
  }
}