package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name": "@zxing/library",
  3. "version": "0.20.0",
  4. "description": "TypeScript port of ZXing multi-format 1D/2D barcode image processing library.",
  5. "keywords": [
  6. "reader",
  7. "writer",
  8. "decode",
  9. "encode",
  10. "scanner",
  11. "generator",
  12. "barcode",
  13. "qr-code",
  14. "barcode 1d",
  15. "barcode 2d",
  16. "typescript",
  17. "zxing"
  18. ],
  19. "authors": [
  20. {
  21. "name": "Adrian Toșcă"
  22. },
  23. {
  24. "name": "David Werth",
  25. "email": "werth.david@gmail.com"
  26. },
  27. {
  28. "name": "Luiz Barni",
  29. "email": "machado@odahcam.com"
  30. }
  31. ],
  32. "engines": {
  33. "node": ">= 10.4.0"
  34. },
  35. "license": "MIT",
  36. "bugs": "https://github.com/zxing-js/library/issues/new",
  37. "repository": {
  38. "type": "git",
  39. "url": "https://github.com/zxing-js/library"
  40. },
  41. "homepage": "https://zxing-js.github.io/library/",
  42. "private": false,
  43. "main": "./cjs/index.js",
  44. "module": "./esm/index.js",
  45. "typings": "./esm/index.d.ts",
  46. "esnext": "./es2015/index.js",
  47. "unpkg": "./umd/index.min.js",
  48. "scripts": {
  49. "lint": "yarn tslint --project .",
  50. "clean": "yarn shx rm -rf dist output",
  51. "test": "yarn test:build && yarn test:run",
  52. "test:build": "tsc --build tsconfig.test.json",
  53. "test:run": "mocha -r tsconfig-paths/register --timeout 200000 output/tests/**/*.spec.js",
  54. "cover": "nyc --reporter=lcov --reporter=text yarn test",
  55. "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",
  56. "build:es2015": "tsc --build tsconfig.lib-es2015.json",
  57. "build:esm": "tsc --build tsconfig.lib-esm.json",
  58. "build:esnext": "tsc --build tsconfig.lib-esm.json",
  59. "build:cjs": "tsc --build tsconfig.lib-cjs.json",
  60. "build:umd": "rollup -c rollup.config.js",
  61. "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",
  62. "build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist",
  63. "shx": "./node_modules/.bin/shx",
  64. "tsc": "./node_modules/.bin/tsc",
  65. "tslint": "./node_modules/.bin/tslint \"./src/**/*.ts\""
  66. },
  67. "dependencies": {
  68. "ts-custom-error": "^3.2.1"
  69. },
  70. "devDependencies": {
  71. "@rollup/plugin-node-resolve": "^7.1.3",
  72. "@types/chai": "^4.1.7",
  73. "@types/mocha": "^5.2.6",
  74. "@types/node": "^10.12.29",
  75. "@types/seedrandom": "^2.4.27",
  76. "@types/sharp": "^0.22.2",
  77. "@zxing/text-encoding": "~0.9.0",
  78. "chai": "^4.2.0",
  79. "codacy-coverage": "^3.4.0",
  80. "eslint": "^5.15.1",
  81. "karma": "^6.3.16",
  82. "karma-chai": "^0.1.0",
  83. "karma-chrome-launcher": "^2.2.0",
  84. "karma-coverage": "^1.1.2",
  85. "karma-mocha": "^1.3.0",
  86. "karma-remap-coverage": "^0.1.5",
  87. "karma-sinon": "^1.0.5",
  88. "karma-sourcemap-loader": "^0.3.7",
  89. "karma-typescript": "^3.0.13",
  90. "karma-typescript-preprocessor": "^0.4.0",
  91. "mocha": "^6.2.3",
  92. "mocha-lcov-reporter": "^1.3.0",
  93. "nyc": "^15.1.0",
  94. "rollup": "^2.8.2",
  95. "seedrandom": "^2.4.4",
  96. "sharp": "^0.31.3",
  97. "shx": "0.3.4",
  98. "sinon": "^7.2.7",
  99. "terser": "^5.16.1",
  100. "ts-node": "^9.0.0",
  101. "tsconfig-paths": "^3.9.0",
  102. "tslint": "^6.1.3",
  103. "tslint-no-circular-imports": "^0.7.0",
  104. "typescript": "^3",
  105. "yarn": "^1.17.3"
  106. },
  107. "optionalDependencies": {
  108. "@zxing/text-encoding": "~0.9.0"
  109. },
  110. "collective": {
  111. "type": "opencollective",
  112. "url": "https://opencollective.com/zxing-js",
  113. "logo": "https://opencollective.com/zxing-js/logo.txt"
  114. },
  115. "__npminstall_done": true,
  116. "_from": "@zxing/library@0.20.0",
  117. "_resolved": "https://registry.npmmirror.com/@zxing/library/-/library-0.20.0.tgz"
  118. }