-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
79 lines (79 loc) · 1.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "react-zxing",
"version": "2.0.2",
"description": "Integrate zxing to your React application using a custom hook",
"license": "MIT",
"author": {
"name": "Adam Alfredsson",
"email": "[email protected]",
"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": "[email protected]"
},
"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"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"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": "^18.2.0",
"react-dom": "^18.2.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"
}
}