You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
4.0 KiB

{
"_from": "mqtt",
"_id": "mqtt@3.0.0",
"_inBundle": false,
"_integrity": "sha512-0nKV6MAc1ibKZwaZQUTb3iIdT4NVpj541BsYrqrGBcQdQ7Jd0MnZD1/6/nj1UFdGTboK9ZEUXvkCu2nPCugHFA==",
"_location": "/mqtt",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "mqtt",
"name": "mqtt",
"escapedName": "mqtt",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/mqtt/-/mqtt-3.0.0.tgz",
"_shasum": "7961e5f61efba3eec37d5aa9c4cbcdeb6f841380",
"_spec": "mqtt",
"_where": "/home/yimian/www/smartfarm",
"bin": {
"mqtt_pub": "./bin/pub.js",
"mqtt_sub": "./bin/sub.js",
"mqtt": "./mqtt.js"
},
"browser": {
"./mqtt.js": "./lib/connect/index.js",
"fs": false,
"tls": false,
"net": false
},
"bugs": {
"url": "https://github.com/mqttjs/MQTT.js/issues"
},
"bundleDependencies": false,
"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"
}
],
"dependencies": {
"base64-js": "^1.3.0",
"commist": "^1.0.0",
"concat-stream": "^1.6.2",
"end-of-stream": "^1.4.1",
"es6-map": "^0.1.5",
"help-me": "^1.0.1",
"inherits": "^2.0.3",
"minimist": "^1.2.0",
"mqtt-packet": "^6.0.0",
"pump": "^3.0.0",
"readable-stream": "^2.3.6",
"reinterval": "^1.1.0",
"split2": "^3.1.0",
"websocket-stream": "^5.1.2",
"xtend": "^4.0.1"
},
"deprecated": false,
"description": "A library for the MQTT protocol",
"devDependencies": {
"@types/node": "^10.0.0",
"browserify": "^16.2.2",
"codecov": "^3.0.4",
"global": "^4.3.2",
"istanbul": "^0.4.5",
"mkdirp": "^0.5.1",
"mocha": "^4.1.0",
"mqtt-connection": "^4.0.0",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.2",
"safe-buffer": "^5.1.2",
"should": "^13.2.1",
"sinon": "~1.17.7",
"snazzy": "^8.0.0",
"standard": "^11.0.1",
"through2": "^3.0.0",
"tslint": "^5.11.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.2.2",
"uglify-js": "^3.4.5",
"ws": "^3.3.3",
"zuul": "^3.12.0",
"zuul-ngrok": "^4.0.0"
},
"engines": {
"node": ">=4.0.0"
},
"files": [
"dist/",
"CONTRIBUTING.md",
"doc",
"lib",
"bin",
"examples",
"test",
"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": [
"test",
"tslint"
],
"repository": {
"type": "git",
"url": "git://github.com/mqttjs/MQTT.js.git"
},
"scripts": {
"browser-build": "rimraf dist/ && mkdirp dist/ && browserify mqtt.js -s mqtt > dist/mqtt.js && uglifyjs < dist/mqtt.js > dist/mqtt.min.js",
"browser-test": "zuul --server test/browser/server.js --local --open test/browser/test.js",
"ci": "npm run tslint && npm run typescript-compile-test && npm run test && codecov",
"prepare": "npm run browser-build",
"pretest": "standard | snazzy",
"sauce-test": "zuul --server test/browser/server.js --tunnel ngrok -- test/browser/test.js",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly --",
"tslint": "if [[ \"`node -v`\" != \"v4.3.2\" ]]; then tslint types/**/*.d.ts; fi",
"typescript-compile-execute": "node test/typescript/*.js",
"typescript-compile-test": "tsc -p test/typescript/tsconfig.json",
"typescript-test": "npm run typescript-compile-test && npm run typescript-compile-execute"
},
"standard": {
"env": [
"mocha"
]
},
"types": "types/index.d.ts",
"version": "3.0.0"
}