169 lines
4.3 KiB
JSON
169 lines
4.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"mqtt@4.3.7",
|
|
"D:\\Hjm项目\\TransFlow"
|
|
]
|
|
],
|
|
"_from": "mqtt@4.3.7",
|
|
"_id": "mqtt@4.3.7",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-ew3qwG/TJRorTz47eW46vZ5oBw5MEYbQZVaEji44j5lAUSQSqIEoul7Kua/BatBW0H0kKQcC9kwUHa1qzaWHSw==",
|
|
"_location": "/mqtt",
|
|
"_phantomChildren": {
|
|
"buffer-from": "1.1.1",
|
|
"end-of-stream": "1.4.4",
|
|
"inherits": "2.0.4",
|
|
"stream-shift": "1.0.1",
|
|
"string_decoder": "1.1.1",
|
|
"typedarray": "0.0.6",
|
|
"util-deprecate": "1.0.2"
|
|
},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "mqtt@4.3.7",
|
|
"name": "mqtt",
|
|
"escapedName": "mqtt",
|
|
"rawSpec": "4.3.7",
|
|
"saveSpec": null,
|
|
"fetchSpec": "4.3.7"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.3.7.tgz",
|
|
"_spec": "4.3.7",
|
|
"_where": "D:\\Hjm项目\\TransFlow",
|
|
"bin": {
|
|
"mqtt_pub": "bin/pub.js",
|
|
"mqtt_sub": "bin/sub.js",
|
|
"mqtt": "bin/mqtt.js"
|
|
},
|
|
"browser": {
|
|
"./mqtt.js": "./lib/connect/index.js",
|
|
"fs": false,
|
|
"tls": false,
|
|
"net": false
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/mqttjs/MQTT.js/issues"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Adam Rudd",
|
|
"email": "adamvrr@gmail.com"
|
|
},
|
|
{
|
|
"name": "Matteo Collina",
|
|
"email": "matteo.collina@gmail.com",
|
|
"url": "https://github.com/mcollina"
|
|
},
|
|
{
|
|
"name": "Siarhei Buntsevich",
|
|
"email": "scarry0506@gmail.com",
|
|
"url": "https://github.com/scarry1992"
|
|
},
|
|
{
|
|
"name": "Yoseph Maguire",
|
|
"email": "yomaguir@microsoft.com",
|
|
"url": "https://github.com/YoDaMa"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"commist": "^1.0.0",
|
|
"concat-stream": "^2.0.0",
|
|
"debug": "^4.1.1",
|
|
"duplexify": "^4.1.1",
|
|
"help-me": "^3.0.0",
|
|
"inherits": "^2.0.3",
|
|
"lru-cache": "^6.0.0",
|
|
"minimist": "^1.2.5",
|
|
"mqtt-packet": "^6.8.0",
|
|
"number-allocator": "^1.0.9",
|
|
"pump": "^3.0.0",
|
|
"readable-stream": "^3.6.0",
|
|
"reinterval": "^1.1.0",
|
|
"rfdc": "^1.3.0",
|
|
"split2": "^3.1.0",
|
|
"ws": "^7.5.5",
|
|
"xtend": "^4.0.2"
|
|
},
|
|
"description": "A library for the MQTT protocol",
|
|
"devDependencies": {
|
|
"@types/node": "^10.0.0",
|
|
"@types/tape": "^4.13.2",
|
|
"@types/ws": "^7.4.7",
|
|
"aedes": "^0.46.2",
|
|
"airtap": "^4.0.4",
|
|
"browserify": "^16.5.0",
|
|
"chai": "^4.2.0",
|
|
"chokidar": "^3.5.3",
|
|
"codecov": "^3.0.4",
|
|
"end-of-stream": "^1.4.1",
|
|
"global": "^4.3.2",
|
|
"mkdirp": "^0.5.1",
|
|
"mocha": "^9.2.0",
|
|
"mqtt-connection": "^4.0.0",
|
|
"nyc": "^15.0.1",
|
|
"pre-commit": "^1.2.2",
|
|
"rimraf": "^3.0.2",
|
|
"should": "^13.2.1",
|
|
"sinon": "^9.0.0",
|
|
"snazzy": "^9.0.0",
|
|
"standard": "^16.0.4",
|
|
"tape": "^5.5.2",
|
|
"typescript": "^4.5.5",
|
|
"uglify-es": "^3.3.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"CONTRIBUTING.md",
|
|
"doc",
|
|
"lib",
|
|
"bin",
|
|
"types",
|
|
"mqtt.js"
|
|
],
|
|
"homepage": "https://github.com/mqttjs/MQTT.js#readme",
|
|
"keywords": [
|
|
"mqtt",
|
|
"publish/subscribe",
|
|
"publish",
|
|
"subscribe"
|
|
],
|
|
"license": "MIT",
|
|
"main": "mqtt.js",
|
|
"name": "mqtt",
|
|
"pre-commit": [
|
|
"pretest"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mqttjs/MQTT.js.git"
|
|
},
|
|
"scripts": {
|
|
"browser-build": "rimraf dist/ && mkdirp dist/ && browserify mqtt.js --standalone mqtt > dist/mqtt.js && uglifyjs dist/mqtt.js --compress --mangle --output dist/mqtt.min.js",
|
|
"prepare": "npm run browser-build",
|
|
"pretest": "standard | snazzy",
|
|
"test": "npm run test:node && npm run test:typescript",
|
|
"test:browser": "npm run browser-build && npm run unit-test:browser",
|
|
"test:node": "npm run unit-test:node && codecov",
|
|
"test:typescript": "npm run typescript-compile-test && npm run typescript-compile-execute",
|
|
"typescript-compile-execute": "node test/typescript/broker-connect-subscribe-and-publish.js",
|
|
"typescript-compile-test": "tsc -p test/typescript/tsconfig.json",
|
|
"unit-test:browser": "airtap --server test/browser/server.js test/browser/test.js",
|
|
"unit-test:node": "nyc --reporter=lcov --reporter=text ./node_modules/mocha/bin/_mocha --exit"
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"mocha"
|
|
]
|
|
},
|
|
"types": "types/index.d.ts",
|
|
"version": "4.3.7"
|
|
}
|