-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
120 lines (120 loc) · 2.65 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
{
"//": "TODO: author, contributors",
"name": "mqtt",
"version": "5.0.0",
"description": "The next generation of the MQTT.js client",
"keywords": [
"mqtt",
"publish",
"subscribe",
"publish-subscribe",
"publish/subscribe",
"client",
"broker",
"server"
],
"homepage": "https://github.com/mqttjs/mqttjs-v5#readme",
"bugs": "https://github.com/mqttjs/issues",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=14.13.1"
},
"files": [
"dist"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "npm run build && c8 ava -r pino-debug | pino-pretty",
"lint": "eslint .",
"prettier": "prettier 'src/**/*.ts' 'test/**/*.js' --write"
},
"dependencies": {
"duplexify": "^4.1.2",
"end-of-stream": "^1.4.4",
"mqtt-packet": "^7.1.1",
"number-allocator": "^1.0.10",
"pino": "^7.6.3",
"ws": "^8.4.2"
},
"devDependencies": {
"@types/duplexify": "^3.6.1",
"@types/end-of-stream": "^1.4.1",
"@types/node": "^14.18.10",
"@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"aedes": "^0.46.2",
"ava": "^4.3.0",
"c8": "^7.11.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"pino-debug": "^2.0.0",
"pino-pretty": "^7.5.0",
"prettier": "^2.5.1",
"typescript": "^4.7.0"
},
"ava": {
"files": [
"test/**/*",
"!test/util"
],
"concurrency": 5,
"failFast": false,
"failWithoutAssertions": false,
"environmentVariables": {
"DEBUG": "mqtt-packet:writeToStream"
},
"verbose": true,
"nodeArguments": [
"--trace-deprecation",
"--napi-modules"
]
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0
}
},
"c8": {
"reporter": [
"html",
"text",
"lcov"
],
"extensions": [
".ts"
],
"include": [
"**/src/**/*.ts",
"**/dist/**/*.js"
],
"exclude": [
"**/interfaces/",
"**/interface/"
],
"all": true,
"check-coverage": true,
"lines": 56,
"functions": 58,
"branches": 45,
"statements": 56
}
}