UNPKG

@ericblade/quagga2

Version:

An advanced barcode-scanner written in JavaScript

189 lines (188 loc) 6.92 kB
{ "name": "@ericblade/quagga2", "version": "1.8.2", "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.2" }, "devDependencies": { "@babel/core": "^7.20.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.19.6", "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@babel/runtime": "^7.20.1", "@cypress/code-coverage": "^3.10.0", "@cypress/webpack-preprocessor": "5.15.3", "@types/chai": "^4.3.3", "@types/gl-vec2": "^1.3.2", "@types/lodash": "^4.14.188", "@types/mocha": "^5.2.7", "@types/node": "^18.11.9", "@types/sinon": "^10.0.13", "@types/sinon-chai": "^3.2.8", "@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.6", "core-js": "^3.26.0", "cross-env": "^7.0.3", "cypress": "^10.0.0", "eslint": "^8.27.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-airbnb-typescript-base": "^4.0.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-typescript-sort-keys": "^2.1.0", "esm": "^3.2.25", "mocha": "^5.2.0", "nyc": "^15.1.0", "sinon": "^14.0.1", "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-new": "npx cross-env NODE_OPTIONS=--openssl-legacy-provider npm run build", "build": "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 <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 <pierrelouis.peeters@gmail.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>" ], "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" } }