-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 2.28 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
{
"name": "@zxing/browser",
"version": "0.2.1",
"description": "ZXing for JS's browser layer.",
"keywords": [
"reader",
"writer",
"decode",
"encode",
"scanner",
"generator",
"barcode",
"qr-code",
"barcode 1d",
"barcode 2d",
"typescript",
"zxing"
],
"authors": [
{
"name": "David Werth",
"email": "werth.david@gmail.com"
},
{
"name": "Luiz Barni",
"email": "machado@odahcam.com"
}
],
"license": "MIT",
"bugs": "https://github.com/zxing-js/browser/issues/new",
"repository": {
"type": "git",
"url": "https://github.com/zxing-js/browser"
},
"private": false,
"main": "./cjs/index.js",
"module": "./esm/index.js",
"typings": "./esm/index.d.ts",
"esnext": "./es2015/index.js",
"unpkg": "./umd/zxing-browser.min.js",
"scripts": {
"clean": "./node_modules/.bin/shx rm -rf umd esm esm5",
"build": "npm run clean && npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min && npm run build:copy",
"build:es2015": "tsc --build tsconfig.lib-es2015.json",
"build:esm": "tsc --build tsconfig.lib-esm.json",
"build:cjs": "tsc --build tsconfig.lib-cjs.json",
"build:umd": "rollup -c rollup.config.mjs",
"build:umd:min": "cd dist/umd && terser --compress --mangle --source-map --comments -o zxing-browser.min.js -- zxing-browser.js && gzip zxing-browser.min.js -c > zxing-browser.min.js.gz",
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist",
"test": "jest"
},
"peerDependencies": {
"@zxing/library": "^0.23.0"
},
"optionalDependencies": {
"@zxing/text-encoding": "^0.9.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",
"@types/jest": "^29.5.14",
"@zxing/library": "^0.22.0",
"canvas": "^3.1.0",
"eslint": "^10.2.1",
"jest": "^29.7.0",
"rollup": "^4.60.2",
"shx": "^0.4.0",
"terser": "^5.46.2",
"ts-jest": "^29.3.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.0.0"
}
}