forked from mqttjs/MQTT.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.46 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.46 KB
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
{
"name": "mqtt",
"description": "A library for the MQTT protocol",
"version": "5.0.0",
"contributors": [
"Adam Rudd <adamvrr@gmail.com>",
"Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)",
"Siarhei Buntsevich <scarry0506@gmail.com> (https://github.com/scarry1992)",
"Yoseph Maguire <yomaguir@microsoft.com> (https://github.com/YoDaMa)"
],
"keywords": [
"mqtt",
"publish/subscribe",
"publish",
"subscribe"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mqttjs/MQTT.js.git"
},
"main": "dist/index.js",
"module": "dist-esm/src/index.js",
"types": "types/index.d.ts",
"scripts": {
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build": "tsc -p . && rollup -c 2>&1",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-* test-dist temp types *.tgz *.log",
"execute:samples": "dev-tool samples run samples-dev",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json api-extractor.json src test --ext .ts",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"test": "jest"
},
"bin": {
"mqtt_pub": "./bin/pub.js",
"mqtt_sub": "./bin/sub.js",
"mqtt": "./bin/mqtt.js"
},
"files": [
"dist/",
"dist-esm/src/",
"types",
"bin",
"doc",
"LICENSE.md",
"CONTRIBUTING.md"
],
"engines": {
"node": ">=14.0.0"
},
"browser": {
"./mqtt.js": "./lib/connect/index.js",
"fs": false,
"tls": false,
"net": false,
"./dist-esm/src/connectionFactory/buildWebSocketStream.js": "./dist-esm/src/connectionFactory/buildWebSocketStream.browser.js"
},
"dependencies": {
"mqtt-packet": "^7.0.0",
"number-allocator": "^1.0.7",
"rfdc": "^1.3.0",
"ws": "^8.2.0"
},
"devDependencies": {
"@types/collections": "^5.1.2",
"@types/duplexify": "^3.6.0",
"@types/end-of-stream": "^1.4.1",
"@types/node": "^12.0.0",
"@types/readable-stream": "^2.3.11",
"@types/rfdc": "^1.2.0",
"@types/ws": "^8.2.0",
"aedes": "^0.46.1",
"airtap": "^4.0.3",
"browserify": "^17.0.0",
"codecov": "^3.8.3",
"collections": "^5.1.12",
"duplexify": "^4.1.2",
"end-of-stream": "^1.4.4",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"global": "^4.4.0",
"jest": "^27.4.7",
"mkdirp": "^1.0.4",
"mqtt-connection": "^4.1.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^1.16.3",
"snazzy": "^9.0.0",
"standard": "^16.0.4",
"ts-jest": "^27.1.2",
"ts-node": "^9.0.0",
"tsdx": "^0.14.1",
"typescript": "^4.4.3",
"uglify-es": "^3.3.9"
},
"standard": {
"env": [
"mocha"
]
}
}