-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 loc) · 2.61 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "react-webcam-qr-scanner.ts",
"version": "1.0.4",
"description": "Typescript React components using pure javascript to detect QR Code from webcam continuously.",
"keywords": [
"react",
"qr scanner",
"webcam",
"typescript"
],
"author": {
"name": "Beeno Tung",
"email": "aabbcc1241@yahoo.com.hk",
"url": "https://beeno-tung.surge.sh"
},
"license": "BSD-2.0",
"main": "dist/cjs/webcam-qr-scanner.js",
"types": "dist/cjs/webcam-qr-scanner.d.ts",
"module": "dist/esm/webcam-qr-scanner.js",
"files": [
"src",
"dist"
],
"scripts": {
"format": "run-s restore prettier",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"start": "node scripts/pre-start.js && react-scripts start",
"build:react": "node scripts/pre-start.js && react-scripts build",
"surge": "surge build https://react-webcam-qr-scanner-demo.surge.sh",
"upload": "run-s build:react surge",
"restore": "node scripts/restore.js",
"clean": "rimraf dist",
"build": "run-s clean format build:dist",
"build:dist": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"watch:test": "react-scripts test",
"test": "run-p test:*",
"test:tsc": "tsc --noEmit",
"test:react": "CI=true react-scripts test",
"eject": "react-scripts eject"
},
"dependencies": {
"qr-scanner": "^1.2.0"
},
"peerDependencies": {
"@types/react": "^16.9.53",
"react": "^17.0.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-refresh": "^0.9.0",
"react-scripts": "4.0.1",
"rimraf": "^3.0.2",
"typescript": "^4.0.3",
"web-vitals": "^0.2.4"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/react-webcam-qr-scanner.ts.git"
},
"bugs": {
"url": "https://github.com/beenotung/react-webcam-qr-scanner.ts/issues"
},
"homepage": "https://github.com/beenotung/react-webcam-qr-scanner.ts#readme"
}