UNPKG

2.09 kBJSONView Raw
1{
2 "name": "mqtt",
3 "description": "A library for the MQTT protocol",
4 "version": "1.8.0",
5 "contributors": [
6 "Adam Rudd <adamvrr@gmail.com>",
7 "Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)"
8 ],
9 "keywords": [
10 "mqtt",
11 "publish/subscribe",
12 "publish",
13 "subscribe"
14 ],
15 "license": "MIT",
16 "repository": {
17 "type": "git",
18 "url": "git://github.com/mqttjs/MQTT.js.git"
19 },
20 "main": "mqtt.js",
21 "scripts": {
22 "test": "mocha",
23 "pretest": "npm run check-style",
24 "check-style:eslint": "eslint mqtt.js lib test test/browser test/helpers",
25 "check-style:jshint": "jshint mqtt.js lib test test/browser test/helpers",
26 "check-style:jscs": "jscs mqtt.js lib test test/browser test/helpers",
27 "check-style": "npm run check-style:jshint && npm run check-style:jscs && npm run check-style:eslint",
28 "browser-test": "zuul --server test/browser/server.js --local --open test/browser/test.js",
29 "sauce-test": "zuul --server test/browser/server.js --tunnel ngrok -- test/browser/test.js"
30 },
31 "pre-commit": [
32 "test"
33 ],
34 "bin": {
35 "mqtt_pub": "./bin/pub.js",
36 "mqtt_sub": "./bin/sub.js",
37 "mqtt": "./mqtt.js"
38 },
39 "engines": {
40 "node": ">=0.8.6"
41 },
42 "browser": {
43 "./mqtt.js": "./lib/connect/index.js",
44 "fs": false,
45 "tls": false,
46 "net": false
47 },
48 "dependencies": {
49 "commist": "^1.0.0",
50 "concat-stream": "^1.4.7",
51 "end-of-stream": "^1.1.0",
52 "help-me": "^0.1.0",
53 "inherits": "^2.0.1",
54 "minimist": "^1.1.0",
55 "mqtt-connection": "^2.0.0",
56 "mqtt-packet": "^3.2.0",
57 "readable-stream": "~1.0.2",
58 "reinterval": "^1.0.1",
59 "websocket-stream": "^3.0.1",
60 "xtend": "^4.0.0"
61 },
62 "devDependencies": {
63 "browserify": "^11.0.1",
64 "eslint": "^1.3.1",
65 "jscs": "^2.1.1",
66 "jshint": "2.7.0",
67 "mocha": "*",
68 "pre-commit": "1.1.1",
69 "should": "*",
70 "sinon": "~1.10.0",
71 "through2": "^0.6.3",
72 "uglify": "^0.1.1",
73 "ws": "^0.8.0",
74 "zuul": "^3.4.0",
75 "zuul-ngrok": "gnandretta/zuul-ngrok#upgrade-ngrok"
76 }
77}