forked from mqttjs/MQTT.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
172 lines (172 loc) · 4.62 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "mqtt",
"description": "A library for the MQTT protocol",
"version": "5.8.1",
"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)",
"Daniel Lando <[email protected]> (https://github.com/robertsLando)"
],
"keywords": [
"mqtt",
"publish/subscribe",
"publish",
"subscribe"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mqttjs/MQTT.js.git"
},
"main": "./build/index.js",
"module": "./dist/mqtt.esm.js",
"bin": {
"mqtt_pub": "./build/bin/pub.js",
"mqtt_sub": "./build/bin/sub.js",
"mqtt": "./build/bin/mqtt.js"
},
"files": [
"dist/",
"CONTRIBUTING.md",
"LICENSE.md",
"help/",
"build/",
"src/"
],
"exports": {
".": {
"browser": {
"import": "./dist/mqtt.esm.js",
"default": "./dist/mqtt.min.js"
},
"default": "./build/index.js"
},
"./package.json": "./package.json",
"./*.map": "./build/*.js.map",
"./dist/*": "./dist/*.js",
"./*": "./build/*.js"
},
"types": "build/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./build/index.d.ts"
]
}
},
"scripts": {
"lint": "eslint --ext .ts .",
"lint-fix": "eslint --fix --ext .ts .",
"build:ts": "rimraf build/ && tsc -p tsconfig.build.json",
"build:browser": "node esbuild.js",
"build": "npm run build:ts && npm run build:browser",
"prepare": "npm run build",
"unit-test:node": "node_modules/.bin/nyc node -r esbuild-register test/runTests.ts",
"unit-test:browser": "wtr",
"test:node": "npm run unit-test:node && codecov",
"test:browser": "npm run build && npm run unit-test:browser",
"test": "npm run test:node",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"changelog-init": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it"
},
"release-it": {
"github": {
"release": true
},
"git": {
"tagName": "v${version}",
"commitMessage": "chore(release): ${version}"
},
"hooks": {
"before:init": [
"npm run test"
]
},
"npm": {
"publish": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
},
"pre-commit": [
"lint"
],
"engines": {
"node": ">=16.0.0"
},
"browser": {
"./mqtt.js": "./dist/mqtt.js",
"fs": false,
"tls": false,
"net": false
},
"dependencies": {
"@types/readable-stream": "^4.0.5",
"@types/ws": "^8.5.9",
"commist": "^3.2.0",
"concat-stream": "^2.0.0",
"debug": "^4.3.4",
"help-me": "^5.0.0",
"lru-cache": "^10.0.1",
"minimist": "^1.2.8",
"mqtt": "^5.2.0",
"mqtt-packet": "^9.0.0",
"number-allocator": "^1.0.14",
"readable-stream": "^4.4.2",
"reinterval": "^1.1.0",
"rfdc": "^1.3.0",
"split2": "^4.2.0",
"worker-timers": "^7.1.4",
"ws": "^8.17.1"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@release-it/conventional-changelog": "^7.0.2",
"@types/chai": "^4.3.10",
"@types/node": "^20.9.0",
"@types/sinon": "^17.0.1",
"@types/tape": "^5.6.4",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@web/test-runner": "^0.18.0",
"@web/test-runner-playwright": "^0.11.0",
"aedes-cli": "^0.8.0",
"chai": "^4.3.10",
"chokidar": "^3.5.3",
"codecov": "^3.8.2",
"conventional-changelog-cli": "^4.1.0",
"end-of-stream": "^1.4.4",
"esbuild": "^0.19.5",
"esbuild-plugin-polyfill-node": "^0.3.0",
"esbuild-register": "^3.5.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"global": "^4.4.0",
"leaked-handles": "^5.2.0",
"mkdirp": "^3.0.1",
"mqtt-connection": "^4.1.0",
"mqtt-level-store": "^3.1.0",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prettier": "^3.0.3",
"release-it": "^16.2.1",
"rimraf": "^5.0.5",
"should": "^13.2.3",
"sinon": "^17.0.1",
"snazzy": "^9.0.0",
"tape": "^5.7.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}