Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
206 lines (206 loc) · 8.81 KB
/
Copy pathpackage.json
File metadata and controls
206 lines (206 loc) · 8.81 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
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"name": "@ericblade/quagga2",
"version": "1.11.0",
"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",
"ndarray-pixels": "^5.0.1",
"sharp": "^0.35.3"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@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.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@babel/runtime": "^7.28.4",
"@cypress/code-coverage": "^3.14.7",
"@cypress/webpack-preprocessor": "^6.0.4",
"@types/chai": "^5.2.3",
"@types/gl-vec2": "^1.3.5",
"@types/lodash": "^4.17.20",
"@types/mocha": "^5.2.7",
"@types/node": "^24.10.1",
"@types/sinon": "^20.0.0",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-loader": "^8.2.5",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^7.0.1",
"chai": "^4.3.10",
"core-js": "^3.46.0",
"cross-env": "^10.1.0",
"cypress": "^15.8.1",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-airbnb-typescript-base": "^6.0.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"lodash": "^4.18.1",
"mocha": "^5.2.0",
"ndarray": "^1.0.19",
"ndarray-linear-interpolate": "^1.0.0",
"ndarray-pixels": "^5.0.1",
"nyc": "^17.1.0",
"sinon": "^21.0.0",
"sinon-chai": "^3.7.0",
"source-map-loader": "^1.1.1",
"ts-mocha": "^11.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"overrides": {
"minimist": "1.2.8"
},
"directories": {
"doc": "docs",
"example": "docs/examples"
},
"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",
"server:examples": "npx http-server docs/examples -p 8080",
"cypress:open": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress open --env BUILD_ENV=development --browser electron --config specPattern='cypress/e2e/**/!(browser-bundle).cy.ts'",
"cypress:open:e2e": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress open --e2e --env BUILD_ENV=development --config specPattern=\"cypress/e2e/examples.cy.ts\" --browser electron",
"cypress:run": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --env BUILD_ENV=development --config specPattern='cypress/e2e/**/!(browser-bundle).cy.ts'",
"cypress:run:e2e": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --env BUILD_ENV=development --spec \"cypress/e2e/examples.cy.ts\"",
"test:e2e": "npx start-server-and-test server:examples http://localhost:8080 cypress:run:e2e",
"test:e2e:open": "npx start-server-and-test server:examples http://localhost:8080 cypress:open:e2e",
"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 test/test-import.mjs",
"test:node": "npx cross-env NODE_ENV=test ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/**/*.spec.ts",
"test:require": "mocha test/test-require",
"test:node-bundle": "npm run build:node && npx cross-env NODE_ENV=test mocha test/node-bundle.spec.js",
"test:browser-bundle": "npm run build:prod && npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --spec cypress/e2e/browser-bundle.cy.ts",
"test:module": "npm run test:require && npm run test:import",
"test": "npx start-server-and-test server:examples http://localhost:8080 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/**/*.spec.ts",
"test:parallel": "npx concurrently --kill-others-on-fail --success=all -n e2e,node -c green,blue \"npx start-server-and-test server:examples http://localhost:8080 cypress:run\" \"npm run test:node\"",
"build-and-test": "npm run build && npm run test",
"build:dev": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider webpack --config configs/webpack.config.js",
"build:prod": "npx cross-env NODE_ENV=production BUILD_ENV=production NODE_OPTIONS=--openssl-legacy-provider webpack --config configs/webpack.config.min.js",
"build:node": "npx cross-env NODE_ENV=production BABEL_ENV=commonjs BUILD_ENV=node NODE_OPTIONS=--openssl-legacy-provider webpack --config configs/webpack.node.config.js",
"build": "npx cross-env NODE_OPTIONS=--openssl-legacy-provider npm run build-old && npm run copy-dist-examples",
"copy-dist-examples": "npx cpx \"dist/*\" \"docs/examples/dist\"",
"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",
"check-updates": "npx npm-check-updates --peer --loglevel verbose",
"upgrade-deps": "npx npm-check-updates --peer --doctor --doctorTest \"npm run build-and-test\" --loglevel verbose"
},
"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 <blade.eric@gmail.com>",
"contributors": [
"Christoph Oberhofer <ch.oberhofer@gmail.com>",
"Lindsey Simon <elsigh@gmail.com>",
"dgreif <dustin.greif@gmail.com>",
"David Madner <david.madner@posteo.at>",
"Mario Zupan <mzupanmz@gmail.com>",
"Edson Alves <edson.alves@oppus>",
"Tomáš Hübelbauer <tomas@hubelbauer.net>",
"Dan Manastireanu <danmana11@yahoo.com>",
"E020873 <nicolas.henry-partner@arcelormittal.com>",
"José Pedro Silva <sobreiro.pedro@gmail.com>",
"Lasse Rafn <lasserafn@gmail.com>",
"Laszlo Radics <laszlo.radics@dpc.hu>",
"Martin Tillmann <mtillmann@gmail.com>",
"Matthias Jauernig <matthias.jauernig@partner.commerzbank.com>",
"Matthias Riegler <matthias@xvzf.tech>",
"Pierre-Louis Peeters <PLPeeters@users.noreply.github.com>",
"Rudolph Gottesheim <r.gottesheim@midnight-design.at>",
"Sean Hussey <sean@seanhussey.com>",
"Thomas <tricki@users.noreply.github.com>",
"jclarkin <j.r.clarkin@gmail.com>",
"kieat <kieat@users.noreply.github.com>",
"Esteban Morales <red_bandit_11@hotmail.com>",
"Ward Lootens <wardlootens@gmail.com>",
"Taylor Southwick <twsouthwick@outlook.com>",
"Youri Westerman <tetracon@gmail.com>",
"Stefano Calì <stefanocali@gmail.com>",
"Tony Brix <tony@brix.ninja>",
"Alex Howes <alex@alexhowes.co.uk>",
"Sudham Jayanthi <workwithsudham@gmail.com>",
"Ben Khoo <khoobks@gmail.com>",
"Andy Edinborough <andy@edinborough.org>",
"Claudio Cocciarelli <claudiococciarelli@gmail.com>",
"Hadrien Foucault <hadrien.foucault@gmail.com>",
"ghevge <ghevge@github.com>"
],
"license": "MIT",
"engines": {
"node": ">= 20.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"
},
"dependencies": {
"gl-matrix": "^3.4.4"
}
}