-
-
Notifications
You must be signed in to change notification settings - Fork 547
/
package.json
115 lines (115 loc) · 3.5 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@zxing/library",
"version": "0.21.3",
"description": "TypeScript port of ZXing multi-format 1D/2D barcode image processing library.",
"keywords": [
"reader",
"writer",
"decode",
"encode",
"scanner",
"generator",
"barcode",
"qr-code",
"barcode 1d",
"barcode 2d",
"typescript",
"zxing"
],
"authors": [
{
"name": "Adrian Toșcă"
},
{
"name": "David Werth",
"email": "[email protected]"
},
{
"name": "Luiz Barni",
"email": "[email protected]"
}
],
"engines": {
"node": ">= 10.4.0"
},
"license": "MIT",
"bugs": "https://github.com/zxing-js/library/issues/new",
"repository": {
"type": "git",
"url": "https://github.com/zxing-js/library"
},
"homepage": "https://zxing-js.github.io/library/",
"private": false,
"main": "./cjs/index.js",
"module": "./esm/index.js",
"typings": "./esm/index.d.ts",
"esnext": "./es2015/index.js",
"unpkg": "./umd/index.min.js",
"scripts": {
"lint": "yarn tslint --project .",
"clean": "yarn shx rm -rf dist output",
"test": "yarn test:build && yarn test:run",
"test:build": "tsc --build tsconfig.test.json",
"test:run": "mocha -r tsconfig-paths/register --timeout 200000 output/tests/**/*.spec.js",
"cover": "nyc --reporter=lcov --reporter=text yarn test",
"build": "yarn clean && yarn build:es2015 && yarn build:esm && yarn build:esnext && 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:esnext": "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 index.min.js -- index.js && gzip index.min.js -c > index.min.js.gz",
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist",
"shx": "./node_modules/.bin/shx",
"tsc": "./node_modules/.bin/tsc",
"tslint": "./node_modules/.bin/tslint \"./src/**/*.ts\""
},
"dependencies": {
"ts-custom-error": "^3.2.1"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.29",
"@types/seedrandom": "^2.4.27",
"@types/sharp": "^0.22.2",
"@zxing/text-encoding": "~0.9.0",
"chai": "^4.2.0",
"codacy-coverage": "^3.4.0",
"eslint": "^5.15.1",
"karma": "^6.3.16",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.2",
"karma-mocha": "^1.3.0",
"karma-remap-coverage": "^0.1.5",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-typescript": "^3.0.13",
"karma-typescript-preprocessor": "^0.4.0",
"mocha": "^6.2.3",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"rollup": "^2.8.2",
"seedrandom": "^2.4.4",
"sharp": "^0.32.6",
"shx": "0.3.4",
"sinon": "^7.2.7",
"terser": "^5.16.1",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.3",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "^3",
"yarn": "^1.17.3"
},
"optionalDependencies": {
"@zxing/text-encoding": "~0.9.0"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/zxing-js",
"logo": "https://opencollective.com/zxing-js/logo.txt"
}
}