-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.3 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
{
"name": "use-qrcode-hook",
"version": "1.0.0",
"description": "A React hook for generating QR codes with customizable options",
"author": {
"name": "Diogo Moretti",
"email": "[email protected]",
"url": "https://github.com/diogomoretti"
},
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"readme.md"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"prepare": "npm run build",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"release": "npm run build && npm publish --access public && npm run publish-tag",
"publish-tag": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags",
"build:demo": "vite build --config vite.demo.config.ts"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"qrcode": "^1.5.3",
"react-syntax-highlighter": "^15.6.1"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^14.2.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.9.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.11",
"globals": "^15.9.0",
"jsdom": "^24.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.3.0",
"vite": "^5.4.2",
"vite-plugin-dts": "^4.3.0",
"vitest": "^1.3.1"
},
"keywords": [
"react",
"hook",
"qr",
"qrcode",
"typescript"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/diogomoretti/use-qrcode"
},
"bugs": {
"url": "https://github.com/diogomoretti/use-qrcode/issues"
},
"homepage": "https://github.com/diogomoretti/use-qrcode#readme"
}