UNPKG

1.91 kBJSONView Raw
1{
2 "name": "mqtt",
3 "description": "A library for the MQTT protocol",
4 "version": "1.3.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/*.js test/browser/*.js test/helpers/*.js",
25 "check-style:jshint": "jshint mqtt.js lib/* test/*.js test/browser/*.js test/helpers/*.js",
26 "check-style:jscs": "jscs mqtt.js lib/* test/*.js test/browser/*.js test/helpers/*.js",
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 },
30 "pre-commit": [
31 "test"
32 ],
33 "bin": {
34 "mqtt_pub": "./bin/pub.js",
35 "mqtt_sub": "./bin/sub.js",
36 "mqtt": "./mqtt.js"
37 },
38 "engines": {
39 "node": ">=0.8.6"
40 },
41 "browser": {
42 "./mqtt.js": "./lib/connect/index.js"
43 },
44 "dependencies": {
45 "commist": "^1.0.0",
46 "concat-stream": "^1.4.7",
47 "end-of-stream": "^1.1.0",
48 "help-me": "^0.1.0",
49 "inherits": "^2.0.1",
50 "minimist": "^1.1.0",
51 "mqtt-connection": "^2.0.0",
52 "mqtt-packet": "^3.2.0",
53 "readable-stream": "~1.0.2",
54 "websocket-stream": "^1.3.1",
55 "xtend": "^4.0.0"
56 },
57 "devDependencies": {
58 "browserify": "^7.0.0",
59 "eslint": "^0.15.1",
60 "jscs": "^1.11.3",
61 "jshint": "^2.6.2",
62 "mocha": "*",
63 "pre-commit": "0.0.7",
64 "should": "*",
65 "sinon": "~1.10.0",
66 "through2": "^0.6.3",
67 "uglify": "^0.1.1",
68 "ws": "^0.7.1",
69 "zuul": "^1.15.2"
70 }
71}