-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
package.json
190 lines (190 loc) · 6.85 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "@ericblade/quagga2",
"version": "1.8.4",
"description": "An advanced barcode-scanner written in JavaScript",
"main": "lib/quagga.js",
"types": "type-definitions/quagga.d.ts",
"browser": "dist/quagga.min.js",
"optionalDependencies": {
"fsevents": "2.3.3"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@babel/runtime": "^7.23.2",
"@cypress/code-coverage": "^3.12.4",
"@cypress/webpack-preprocessor": "6.0.0",
"@types/chai": "^4.3.9",
"@types/gl-vec2": "^1.3.4",
"@types/lodash": "^4.14.200",
"@types/mocha": "^5.2.7",
"@types/node": "^20.8.7",
"@types/sinon": "^10.0.20",
"@types/sinon-chai": "^3.2.11",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"babel-loader": "^8.2.5",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^6.1.1",
"chai": "^4.3.10",
"core-js": "^3.33.1",
"cross-env": "^7.0.3",
"cypress": "^13.1.0",
"eslint": "^8.52.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-airbnb-typescript-base": "^4.0.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-typescript-sort-keys": "^2.1.0",
"esm": "^3.2.25",
"mocha": "^5.2.0",
"nyc": "^15.1.0",
"sinon": "^17.0.0",
"sinon-chai": "^3.7.0",
"source-map-loader": "^1.1.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"directories": {
"doc": "doc"
},
"scripts": {
"check-types": "tsc",
"precoverage": "npx rimraf .nyc_output coverage",
"coverage:node": "// DOES NOT WORK YET // npx cross-env NODE_ENV=test BUILD_ENV=development nyc --no-clean ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.*",
"coverage": "npm run cypress:run",
"cypress:open": "npx cross-env NODE_ENV=development BUILD_ENV=development cypress open --env BUILD_ENV=development",
"cypress:run": "npx cross-env NODE_ENV=development BUILD_ENV=development cypress run --env BUILD_ENV=development",
"test:browser-specific": "NOT WORKING -- something like npx cypress run --config testFiles=[browser]",
"test:browser-universal": "NOT WORKING -- something like npx cypress run --config testFiles=[universal]",
"test:browser-all": "npm run cypress:run",
"test:import": "mocha -r esm test/test-import.js",
"test:node": "npx cross-env NODE_ENV=test ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/integration.spec.ts",
"test:require": "mocha test/test-require",
"test:module": "npm run test:require && npm run test:import",
"test": "npm run cypress:run && npx cross-env NODE_ENV=test BUILD_ENV=development ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/integration.spec.ts",
"build:dev": "npx cross-env NODE_ENV=development BUILD_ENV=development webpack --config configs/webpack.config.js",
"build:prod": "npx cross-env NODE_ENV=production BUILD_ENV=production webpack --config configs/webpack.config.min.js",
"build:node": "npx cross-env NODE_ENV=production BABEL_ENV=commonjs BUILD_ENV=node webpack --config configs/webpack.node.config.js",
"build": "npx cross-env NODE_OPTIONS=--openssl-legacy-provider npm run build-old",
"build-old": "npm run check-types && npm run build:dev && npm run build:prod && npm run build:node",
"watch": "npx cross-env BUILD_ENV=development webpack --watch",
"lint": "eslint src",
"upgrade-deps": "npx npm-check-updates --doctor"
},
"repository": {
"type": "git",
"url": "https://github.com/ericblade/quagga2.git"
},
"bugs": {
"url": "https://github.com/ericblade/quagga2/issues"
},
"keywords": [
"quagga2",
"quagga",
"quaggajs",
"barcode",
"ean",
"code128",
"code39",
"codabar",
"i2of5",
"upc",
"getUserMedia",
"imageprocessing"
],
"author": "Eric Blade <[email protected]>",
"contributors": [
"Christoph Oberhofer <[email protected]>",
"Lindsey Simon <[email protected]>",
"dgreif <[email protected]>",
"David Madner <[email protected]>",
"Mario Zupan <[email protected]>",
"Edson Alves <edson.alves@oppus>",
"Tomáš Hübelbauer <[email protected]>",
"Dan Manastireanu <[email protected]>",
"E020873 <[email protected]>",
"José Pedro Silva <[email protected]>",
"Lasse Rafn <[email protected]>",
"Laszlo Radics <[email protected]>",
"Martin Tillmann <[email protected]>",
"Matthias Jauernig <[email protected]>",
"Matthias Riegler <[email protected]>",
"Pierre-Louis Peeters <[email protected]>",
"Rudolph Gottesheim <[email protected]>",
"Sean Hussey <[email protected]>",
"Thomas <[email protected]>",
"jclarkin <[email protected]>",
"kieat <[email protected]>",
"Esteban Morales <[email protected]>",
"Ward Lootens <[email protected]>",
"Taylor Southwick <[email protected]>",
"Youri Westerman <[email protected]>",
"Stefano Calì <[email protected]>",
"Tony Brix <[email protected]>",
"Alex Howes <[email protected]>",
"Sudham Jayanthi <[email protected]>",
"Ben Khoo <[email protected]>",
"Andy Edinborough <[email protected]>",
"Claudio Cocciarelli <[email protected]>",
"Hadrien Foucault <[email protected]>",
"ghevge <[email protected]>"
],
"license": "MIT",
"engines": {
"node": ">= 10.0"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"get-pixels": "^3.3.3",
"gl-matrix": "^3.4.3",
"lodash": "^4.17.21",
"ndarray": "^1.0.19",
"ndarray-linear-interpolate": "^1.0.0"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.js",
"src/**/*.jsx"
],
"exclude": [
"**/*.spec.*"
],
"all": true,
"extension": [
".js",
".jsx",
".ts",
".tsx"
],
"require": [
"ts-node/register",
"babel-register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": false,
"instrument": false
},
"@rollingversions": {
"versioningMode": "ALWAYS_INCREASING",
"versioning": "ALWAYS_INCREASING"
},
"publishConfig": {
"access": "public"
}
}