@thewirv/react-barcode-scanner
Version:
A React component for scanning QR codes and other barcodes via webcam
102 lines (101 loc) • 2.73 kB
JSON
{
"name": "@thewirv/react-barcode-scanner",
"version": "3.3.5",
"description": "A React component for scanning QR codes and other barcodes via webcam",
"author": "Marcel Grünwald",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/TheWirv/react-barcode-scanner.git"
},
"homepage": "https://github.com/TheWirv/react-barcode-scanner#readme",
"bugs": {
"url": "https://github.com/TheWirv/react-barcode-scanner/issues"
},
"keywords": [
"react",
"qr",
"code",
"barcode",
"scanner",
"qrcode",
"qrreader",
"qrscanner",
"qrcodescanner",
"barcodescanner",
"codescanner",
"qrcodereader"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "bun run rimraf dist -I && bun run rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript && bun run rimraf ./dist/src ./dist/rollup.config.d.ts",
"prepublish": "bun run build",
"lint": "bun run eslint --fix 'src/**'",
"prepare": "bun run husky"
},
"source": "./src/index.ts",
"main": "./dist/index.min.cjs",
"module": "./dist/index.min.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"exports": {
".": {
"development": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"source": "./src/index.ts"
},
"production": {
"import": "./dist/index.min.js",
"require": "./dist/index.min.cjs",
"types": "./dist/index.d.ts",
"source": "./src/index.ts"
},
"default": "./dist/index.min.cjs"
},
"./package.json": "./package.json"
},
"dependencies": {
"@zxing/browser": "^0.1.5",
"@zxing/library": "^0.21.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/react": "^18.3.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-dts": "^6.1.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0"
},
"peerDependencies": {
"react": "^16.8.0 || 17.x || 18.x",
"react-dom": "^16.8.0 || 17.x || 18.x",
"react-icons": ">=4.8"
},
"engines": {
"node": ">=16"
}
}