UNPKG

react-qr-barcode-scanner

Version:

A simple React Component using the client's webcam to read barcodes and QR codes.

65 lines (64 loc) 1.76 kB
{ "name": "react-qr-barcode-scanner", "version": "2.1.20", "description": "A simple React Component using the client's webcam to read barcodes and QR codes.", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "author": "Jamena McInteer (https://jamena.dev)", "files": [ "dist" ], "scripts": { "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx --fix", "build": "rm -rf dist && tsc --build tsconfig.json --declaration", "test": "vitest", "test:coverage": "vitest run --coverage", "release": "standard-version" }, "repository": { "type": "git", "url": "https://github.com/jamenamcinteer/react-qr-barcode-scanner" }, "keywords": [ "react", "webcam", "barcode", "scanner", "qr", "qrcode", "camera" ], "license": "MIT", "bugs": { "url": "https://github.com/jamenamcinteer/react-qr-barcode-scanner/issues" }, "homepage": "https://github.com/jamenamcinteer/react-qr-barcode-scanner#readme", "dependencies": { "@zxing/library": "^0.21.3", "react-webcam": "^7.2.0" }, "devDependencies": { "@eslint/js": "^9.39.1", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.0", "@types/react": "^19.2.5", "@typescript-eslint/eslint-plugin": "^8.46.4", "@typescript-eslint/parser": "^8.46.4", "@vitest/coverage-v8": "4.0.9", "eslint": "^9.39.1", "eslint-plugin-react": "^7.37.5", "globals": "^16.5.0", "jsdom": "^27.2.0", "react": "^19.2.0", "react-dom": "^19.2.0", "standard-version": "^9.5.0", "typescript": "^5.9.3", "typescript-eslint": "^8.46.4", "vitest": "^4.0.9" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }