-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.74 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.74 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
{
"name": "detect-primary-camera",
"version": "1.0.1",
"description": "Zero-dependency library to robustly detect the primary rear camera on mobile devices",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.mjs",
"require": "./dist/react.js"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsup",
"lint": "biome lint ./src",
"format": "biome format ./src --write",
"test": "vitest run",
"test:ui": "vitest --ui",
"prepublishOnly": "npm run build"
},
"keywords": [
"camera",
"webrtc",
"barcode-scanner",
"getusermedia",
"devices",
"mobile",
"react",
"hooks"
],
"author": "Sumit Sahoo",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sumitsahoo/detect-primary-camera.git"
},
"homepage": "https://github.com/sumitsahoo/detect-primary-camera#readme",
"bugs": {
"url": "https://github.com/sumitsahoo/detect-primary-camera/issues"
},
"peerDependencies": {
"react": ">=16.8"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^2.4.5",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^25.3.3",
"@types/react": "^19.2.14",
"jsdom": "^28.1.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
}
}