forked from zpao/qrcode.react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.12 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
{
"name": "@alpacahq/qrcode.react",
"version": "3.0.1",
"description": "React component to generate QR codes",
"keywords": [
"react",
"react-component",
"qrcode"
],
"repository": {
"type": "git",
"url": "git+https://github.com/alpacahq/qrcode.react.git"
},
"main": "./lib/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "yarn run build:code",
"build:code": "tsup src/index.tsx -d lib --format esm,cjs --dts --legacy-output --target=es2017 --platform=browser",
"lint": "eslint .",
"pretty": "prettier --write '{*,.*}.{mjs,js,json}' '**/*.{js,json}'",
"prepare": "tsc && make clean && make all",
"prepublish-docs": "make clean && make all",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"license": "ISC",
"files": [
"lib"
],
"dependencies": {},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.5",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-jest": "^27.5.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.23.2",
"gh-pages": "^3.2.3",
"jest": "^27.4.5",
"prettier": "^2.2.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"tsup": "^5.11.13",
"typescript": "^4.5.4"
},
"jest": {
"transform": {
"\\.[jt]sx?$": "babel-jest"
}
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/alpacahq"
},
"bugs": {
"url": "https://github.com/alpacahq/qrcode.react/issues"
},
"homepage": "https://github.com/alpacahq/qrcode.react#readme",
"directories": {
"lib": "lib"
},
"author": ""
}