package.json 4.3 KB

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