-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
77 lines (77 loc) · 2.63 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
{
"name": "@zxing/browser",
"version": "0.1.5",
"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": "[email protected]"
},
{
"name": "Luiz Barni",
"email": "[email protected]"
}
],
"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": "yarn clean && yarn build:es2015 && yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:umd:min && yarn 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.js",
"build:umd:min": "cd dist/umd && terser --compress --mangle --source-map --screw-ie8 --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",
"e2e:serve:start": "pm2 serve ./ 8080 --name zxing-browser-e2e",
"e2e:serve:stop": "pm2 del zxing-browser-e2e",
"e2e:test": "yarn e2e:serve:start && yarn e2e:run && yarn e2e:serve:stop",
"e2e:run": "cypress run --headless --browser chrome",
"cypress:debug": "BROWSER=none CYPRESS_REMOTE_DEBUGGING_PORT=9222 cypress open"
},
"peerDependencies": {
"@zxing/library": "^0.21.0"
},
"optionalDependencies": {
"@zxing/text-encoding": "^0.9.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/chai": "^4.3.0",
"@zxing/library": "^0.21.0",
"chai": "^4.3.6",
"cypress": "^9.4.1",
"eslint": "^8.8.0",
"pm2": "^5.1.2",
"rollup": "^2.67.0",
"shx": "^0.3.4",
"terser": "^5.14.2",
"tslint": "^5.20.1",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "^4.5.5"
}
}