package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "_from": "mqtt@3.0.0",
  3. "_id": "mqtt@3.0.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-0nKV6MAc1ibKZwaZQUTb3iIdT4NVpj541BsYrqrGBcQdQ7Jd0MnZD1/6/nj1UFdGTboK9ZEUXvkCu2nPCugHFA==",
  6. "_location": "/mqtt",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "mqtt@3.0.0",
  12. "name": "mqtt",
  13. "escapedName": "mqtt",
  14. "rawSpec": "3.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "3.0.0"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/mqtt/-/mqtt-3.0.0.tgz",
  23. "_shasum": "7961e5f61efba3eec37d5aa9c4cbcdeb6f841380",
  24. "_spec": "mqtt@3.0.0",
  25. "_where": "/Users/bssm/Desktop/fabTest/打卡坐标",
  26. "bin": {
  27. "mqtt_pub": "bin/pub.js",
  28. "mqtt_sub": "bin/sub.js",
  29. "mqtt": "mqtt.js"
  30. },
  31. "browser": {
  32. "./mqtt.js": "./lib/connect/index.js",
  33. "fs": false,
  34. "tls": false,
  35. "net": false
  36. },
  37. "bugs": {
  38. "url": "https://github.com/mqttjs/MQTT.js/issues"
  39. },
  40. "bundleDependencies": false,
  41. "contributors": [
  42. {
  43. "name": "Adam Rudd",
  44. "email": "adamvrr@gmail.com"
  45. },
  46. {
  47. "name": "Matteo Collina",
  48. "email": "matteo.collina@gmail.com",
  49. "url": "https://github.com/mcollina"
  50. },
  51. {
  52. "name": "Siarhei Buntsevich",
  53. "email": "scarry0506@gmail.com",
  54. "url": "https://github.com/scarry1992"
  55. }
  56. ],
  57. "dependencies": {
  58. "base64-js": "^1.3.0",
  59. "commist": "^1.0.0",
  60. "concat-stream": "^1.6.2",
  61. "end-of-stream": "^1.4.1",
  62. "es6-map": "^0.1.5",
  63. "help-me": "^1.0.1",
  64. "inherits": "^2.0.3",
  65. "minimist": "^1.2.0",
  66. "mqtt-packet": "^6.0.0",
  67. "pump": "^3.0.0",
  68. "readable-stream": "^2.3.6",
  69. "reinterval": "^1.1.0",
  70. "split2": "^3.1.0",
  71. "websocket-stream": "^5.1.2",
  72. "xtend": "^4.0.1"
  73. },
  74. "deprecated": false,
  75. "description": "A library for the MQTT protocol",
  76. "devDependencies": {
  77. "@types/node": "^10.0.0",
  78. "browserify": "^16.2.2",
  79. "codecov": "^3.0.4",
  80. "global": "^4.3.2",
  81. "istanbul": "^0.4.5",
  82. "mkdirp": "^0.5.1",
  83. "mocha": "^4.1.0",
  84. "mqtt-connection": "^4.0.0",
  85. "pre-commit": "^1.2.2",
  86. "rimraf": "^2.6.2",
  87. "safe-buffer": "^5.1.2",
  88. "should": "^13.2.1",
  89. "sinon": "~1.17.7",
  90. "snazzy": "^8.0.0",
  91. "standard": "^11.0.1",
  92. "through2": "^3.0.0",
  93. "tslint": "^5.11.0",
  94. "tslint-config-standard": "^8.0.1",
  95. "typescript": "^3.2.2",
  96. "uglify-js": "^3.4.5",
  97. "ws": "^3.3.3",
  98. "zuul": "^3.12.0",
  99. "zuul-ngrok": "^4.0.0"
  100. },
  101. "engines": {
  102. "node": ">=4.0.0"
  103. },
  104. "files": [
  105. "dist/",
  106. "CONTRIBUTING.md",
  107. "doc",
  108. "lib",
  109. "bin",
  110. "examples",
  111. "test",
  112. "types",
  113. "mqtt.js"
  114. ],
  115. "homepage": "https://github.com/mqttjs/MQTT.js#readme",
  116. "keywords": [
  117. "mqtt",
  118. "publish/subscribe",
  119. "publish",
  120. "subscribe"
  121. ],
  122. "license": "MIT",
  123. "main": "mqtt.js",
  124. "name": "mqtt",
  125. "pre-commit": [
  126. "test",
  127. "tslint"
  128. ],
  129. "repository": {
  130. "type": "git",
  131. "url": "git://github.com/mqttjs/MQTT.js.git"
  132. },
  133. "scripts": {
  134. "browser-build": "rimraf dist/ && mkdirp dist/ && browserify mqtt.js -s mqtt > dist/mqtt.js && uglifyjs < dist/mqtt.js > dist/mqtt.min.js",
  135. "browser-test": "zuul --server test/browser/server.js --local --open test/browser/test.js",
  136. "ci": "npm run tslint && npm run typescript-compile-test && npm run test && codecov",
  137. "prepare": "npm run browser-build",
  138. "pretest": "standard | snazzy",
  139. "sauce-test": "zuul --server test/browser/server.js --tunnel ngrok -- test/browser/test.js",
  140. "test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly --",
  141. "tslint": "if [[ \"`node -v`\" != \"v4.3.2\" ]]; then tslint types/**/*.d.ts; fi",
  142. "typescript-compile-execute": "node test/typescript/*.js",
  143. "typescript-compile-test": "tsc -p test/typescript/tsconfig.json",
  144. "typescript-test": "npm run typescript-compile-test && npm run typescript-compile-execute"
  145. },
  146. "standard": {
  147. "env": [
  148. "mocha"
  149. ]
  150. },
  151. "types": "types/index.d.ts",
  152. "version": "3.0.0"
  153. }