94 lines
3.6 KiB
JSON
94 lines
3.6 KiB
JSON
{
|
|
"name": "html5-qrcode",
|
|
"version": "2.3.8",
|
|
"description": "A cross platform HTML5 QR Code & bar code scanner",
|
|
"main": "./cjs/index.js",
|
|
"module": "./esm/index.js",
|
|
"typings": "./esm/index.d.ts",
|
|
"esnext": "./es2015/index.js",
|
|
"unpkg": "./html5-qrcode.min.js",
|
|
"scripts": {
|
|
"build-windows": "npm run build:es2015 && npm run build:esm && npm run build:esnext && npm run build:cjs && npm run build:umd_windows && npm run build:typing && npm run build:copy_windows",
|
|
"test": "npm run-script test:build && npm run-script test:run",
|
|
"test_windows": "npm run-script test:build && npm run-script test:run_windows",
|
|
"test:build": "tsc --build tsconfig.test.json",
|
|
"test:run_windows": ".\\scripts\\test-run.bat",
|
|
"test:run": "./scripts/test-run.sh",
|
|
"lint-md": "remark .",
|
|
"clean": "rm -Rf ./lib/* ./build/* ./meta/bundlesize/* ./meta/coverage/* ./.rpt2_cache ./dist/* ./src/*.d.ts",
|
|
"prebuild": "npm run clean",
|
|
"postbuild": "cp -R ./third_party ./dist/third_party",
|
|
"build": "npm run build:es2015 && npm run build:esm && npm run build:esnext && npm run build:cjs && npm run build:umd && npm run build:typing && npm run 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:typing": "tsc --emitDeclarationOnly --outDir ./dist",
|
|
"build:umd": "./scripts/build-webpack.sh",
|
|
"build:umd_windows": ".\\scripts\\build-webpack.bat",
|
|
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist && cp -R src dist/src",
|
|
"build:copy_windows": "copy README.md dist && copy package.json dist && copy LICENSE dist",
|
|
"internal_release": "npm run build && cp dist/html5-qrcode.min.js minified/html5-qrcode.min.js",
|
|
"release": "npm run build && cp dist/html5-qrcode.min.js minified/html5-qrcode.min.js && cd dist && npm publish",
|
|
"release_windows": "npm run build && cp dist\\html5-qrcode.min.js minified\\html5-qrcode.min.js && cd dist && npm publish",
|
|
"doc_gen": "npx typedoc --excludePrivate src/index.ts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mebjas/html5-qrcode.git"
|
|
},
|
|
"keywords": [
|
|
"html5",
|
|
"qrcode",
|
|
"html",
|
|
"camera",
|
|
"scanner",
|
|
"barcode",
|
|
"barcode 1d",
|
|
"barcode 2d"
|
|
],
|
|
"author": "minhazav@gmail.com",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/mebjas/html5-qrcode/issues"
|
|
},
|
|
"homepage": "https://github.com/mebjas/html5-qrcode#readme",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.10.5",
|
|
"@babel/core": "^7.11.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/preset-env": "^7.11.0",
|
|
"@types/chai": "^4.3.0",
|
|
"@types/mocha": "^9.0.0",
|
|
"babel-minify": "^0.5.1",
|
|
"chai": "^4.3.4",
|
|
"docusaurus-plugin-typedoc": "^0.18.0",
|
|
"expose-loader": "^2.0.0",
|
|
"jsdom": "20.0.2",
|
|
"jsdom-global": "3.0.2",
|
|
"mocha": "^9.1.3",
|
|
"mocha-lcov-reporter": "^1.3.0",
|
|
"promise-polyfill": "^8.1.3",
|
|
"remark-cli": "^9.0.0",
|
|
"remark-preset-lint-recommended": "^5.0.0",
|
|
"rewire": "^5.0.0",
|
|
"ts-loader": "^9.1.2",
|
|
"ts-node": "^10.4.0",
|
|
"tsconfig-paths": "^3.12.0",
|
|
"typedoc": "^0.23.28",
|
|
"typedoc-plugin-markdown": "^3.14.0",
|
|
"typescript": "^4.3.2",
|
|
"typings": "^2.1.1",
|
|
"webpack": "^5.37.0",
|
|
"webpack-cli": "^4.7.0"
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"remark-preset-lint-recommended"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|