forked from mqttjs/MQTT.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "@th3rdwave/mqtt",
"description": "A library for the MQTT protocol",
"version": "1.0.0",
"contributors": [
"Adam Rudd <[email protected]>",
"Matteo Collina <[email protected]> (https://github.com/mcollina)",
"Siarhei Buntsevich <[email protected]> (https://github.com/scarry1992)",
"Yoseph Maguire <[email protected]> (https://github.com/YoDaMa)",
"Janic Duplessis <[email protected]> (https://github.com/janicduplessis)"
],
"keywords": [
"mqtt",
"publish/subscribe",
"publish",
"subscribe"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mqttjs/MQTT.js.git"
},
"main": "mqtt.js",
"types": "types/index.d.ts",
"scripts": {
"pretest": "yarn prettier --check",
"typescript-compile-test": "tsc -p test/typescript/tsconfig.json",
"typescript-compile-execute": "node test/typescript/broker-connect-subscribe-and-publish.js",
"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",
"unit-test:node": "node_modules/.bin/nyc --reporter=lcov --reporter=text ./node_modules/mocha/bin/_mocha --exit",
"unit-test:browser": "airtap --server test/browser/server.js test/browser/test.js",
"test:node": "npm run unit-test:node && codecov",
"test:browser": "npm run browser-build && npm run unit-test:browser",
"test:typescript": "npm run typescript-compile-test && npm run typescript-compile-execute",
"test": "npm run test:node && npm run test:typescript",
"lint": "eslint \"{benchmarks,bin,examples,lib,test,types}/**/*.{js,ts,tsx}\"",
"prettier": "prettier \"{benchmarks,bin,examples,lib,test,types}/**/*.{js,ts,tsx}\" example.js mqtt.js"
},
"pre-commit": [
"pretest"
],
"bin": {
"mqtt_pub": "./bin/pub.js",
"mqtt_sub": "./bin/sub.js",
"mqtt": "./bin/mqtt.js"
},
"files": [
"dist/",
"CONTRIBUTING.md",
"doc",
"lib",
"bin",
"types",
"mqtt.js"
],
"engines": {
"node": ">=10.0.0"
},
"browser": {
"./mqtt.js": "./lib/connect/index.js",
"fs": false,
"tls": false,
"net": false
},
"dependencies": {
"commist": "^2.0.0",
"concat-stream": "^2.0.0",
"debug": "^4.3.3",
"duplexify": "^4.1.2",
"help-me": "^3.0.0",
"inherits": "^2.0.4",
"lru-cache": "^7.4.0",
"minimist": "^1.2.5",
"mqtt-packet": "^7.1.2",
"number-allocator": "^1.0.9",
"pump": "^3.0.0",
"readable-stream": "^3.6.0",
"reinterval": "^1.1.0",
"rfdc": "^1.3.0",
"split2": "^4.1.0",
"ws": "^8.5.0",
"xtend": "^4.0.2"
},
"devDependencies": {
"@types/node": "^17.0.19",
"@types/tape": "^4.13.2",
"@types/ws": "^8.2.3",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"aedes": "^0.46.3",
"airtap": "^4.0.4",
"browserify": "^17.0.0",
"chai": "^4.3.6",
"chokidar": "^3.5.3",
"codecov": "^3.8.2",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"end-of-stream": "^1.4.4",
"global": "^4.4.0",
"mkdirp": "^1.0.4",
"mocha": "^9.2.1",
"mqtt-connection": "^4.1.0",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"should": "^13.2.3",
"sinon": "^13.0.1",
"tape": "^5.5.2",
"typescript": "^4.5.5",
"uglify-es": "^3.3.9"
}
}