-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
55 lines (55 loc) · 1.52 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
{
"name": "qrcode-parser",
"version": "2.0.0",
"description": "A pure javascript QR code decoding library, accept File object, image url, image base64.",
"repository": {
"url": "sinchang/qrcode-parser",
"type": "git"
},
"files": [
"dist"
],
"main": "./dist/qrcodeParser.cjs",
"umd:main": "./dist/qrcodeParser.umd.js",
"unpkg": "./dist/qrcodeParser.umd.js",
"jsdelivr": "./dist/qrcodeParser.umd.js",
"module": "./dist/qrcodeParser.es.js",
"types": "./dist/types/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"default": "./dist/qrcodeParser.modern.js"
}
},
"scripts": {
"prepublishOnly": "npm run build",
"lint": "eslint \"{src,test,example}/**/*.ts\"",
"example": "vite dev --host --port 8000",
"build:example": "vite build",
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./src/index.ts",
"build": "microbundle && npm run build:umd",
"build:umd": "microbundle -f umd --external none",
"test": "playwright test"
},
"author": "sinchang <sinchangwen@gmail.com>",
"license": "MIT",
"keywords": [
"qrcode",
"base64",
"parser"
],
"dependencies": {
"jsqr": "^1.4.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.0.0",
"@playwright/test": "^1.31.2",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"microbundle": "^0.15.0",
"semantic-release": "^24.0.0",
"typescript": "^5.0.0",
"vite": "^5.0.0"
}
}