-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.35 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.35 KB
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
80
81
82
83
84
85
86
{
"name": "react-zxing",
"version": "3.0.0",
"description": "Scan barcodes in React 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"
],
"packageManager": "pnpm@11.0.0",
"scripts": {
"build": "pnpm clean && pnpm build:esm && pnpm build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc -p tsconfig.cjs.json",
"lint": "eslint \"{src,example}/**/*.{ts,tsx}\"",
"lint:fix": "pnpm lint --fix",
"clean": "git clean -xdf lib example/dist",
"dev": "pnpm --filter example start",
"format": "prettier --write --ignore-path .gitignore .",
"prepare": "husky install",
"release": "bash scripts/release.sh",
"release:retry": "bash scripts/release.sh --retry",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && pnpm --filter example typecheck"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/react": "catalog:",
"@vitest/coverage-v8": "^4.1.7",
"eslint": "^10.4.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"husky": "^8.0.1",
"jsdom": "^29.1.1",
"lint-staged": "^13.0.3",
"prettier": "^3.8.3",
"react": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "^8.60.0",
"vitest": "^4.1.7"
},
"dependencies": {
"barcode-detector": "^3.1.3"
},
"lint-staged": {
"*.{tsx,ts,jsx,js}": [
"pnpm lint:fix"
],
"*.{tsx,ts,jsx,js,json,md}": [
"pnpm format"
]
}
}