UNPKG

react-zxing

Version:

Integrate zxing to your React application using a custom hook

78 lines (77 loc) 1.94 kB
{ "name": "react-zxing", "version": "2.1.0", "description": "Integrate zxing to your React application using a custom hook", "license": "MIT", "author": { "name": "Adam Alfredsson", "email": "adam@zodiapps.com", "url": "https://zodiapps.com/" }, "homepage": "https://github.com/adamalfredsson/react-zxing", "keywords": [ "react", "zxing", "react-zxing", "barcode", "barcode-scanner", "qrcode", "qrcode-scanner" ], "repository": { "type": "git", "url": "https://github.com/adamalfredsson/react-zxing.git" }, "bugs": { "url": "https://github.com/adamalfredsson/react-zxing/issues", "email": "adam@zodiapps.com" }, "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/index.d.ts", "typings": "./lib/index.d.ts", "files": [ "/lib" ], "scripts": { "build": "yarn clean && yarn build:esm && yarn build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module commonjs --outDir lib/cjs", "lint": "eslint \"{src,example}/**/*.{ts,tsx}\"", "lint:fix": "yarn lint --fix", "clean": "rimraf lib", "format": "prettier --write --ignore-path .gitignore .", "prepare": "husky install", "type-check": "tsc --noEmit" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@types/react": "^19.0.10", "eslint": "^8.22.0", "eslint-config-prettier": "^8.5.0", "eslint-config-react-app": "^7.0.1", "husky": "^8.0.1", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "react": "^19.0.0", "rimraf": "^3.0.2", "typescript": "^4.7.4" }, "dependencies": { "@zxing/library": "^0.20.0" }, "lint-staged": { "*.{tsx,ts,jsx,js}": [ "yarn lint:fix" ], "*.{tsx,ts,jsx,js,json,md}": [ "yarn format" ] }, "engines": { "node": "^18 || ^20 || ^22", "yarn": "^1.22" } }