Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 4.69 KB
/
Copy pathpackage.json
File metadata and controls
137 lines (137 loc) · 4.69 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
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
{
"name": "matterbridge-mqtt",
"version": "0.0.11",
"description": "Matterbridge MQTT plugin",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
"homepage": "https://www.npmjs.com/package/matterbridge-mqtt",
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge-mqtt.git"
},
"bugs": {
"url": "https://github.com/Luligu/matterbridge-mqtt/issues"
},
"funding": {
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/luligugithub"
},
"keywords": [
"shelly",
"matterbridge",
"homebridge",
"bridge",
"plugin",
"frontend",
"matterbridge",
"matter.js",
"matter-node.js",
"matter",
"matterprotocol",
"iot",
"smarthome",
"connectedthings",
"hap",
"homekit",
"siri",
"google-home",
"alexa",
"homeassistant",
"smartthings",
"ewelink",
"childbridge",
"gladysassistant",
"hass",
"hassio"
],
"type": "module",
"main": "dist/module.js",
"types": "dist/module.d.ts",
"exports": {
".": {
"import": "./dist/module.js",
"types": "./dist/module.d.ts"
}
},
"engines": {
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
},
"files": [
"bin",
"dist",
"apps/frontend/build",
"apps/frontend/package.json",
"npm-shrinkwrap.json",
"CHANGELOG.md",
"*.config.json",
"*.schema.json"
],
"automator": {
"node": true,
"plugin": true,
"vitest": true,
"native": true,
"git": true,
"version": false,
"publish": false,
"frontend": true,
"coverage": {
"lines": 100,
"functions": 100,
"branches": 100,
"statements": 100
}
},
"scripts": {
"start": "matterbridge",
"add": "matterbridge --add .",
"remove": "matterbridge --remove .",
"enable": "matterbridge --enable .",
"disable": "matterbridge --disable .",
"link": "npm link --no-fund --no-audit matterbridge",
"unlink": "npm unlink matterbridge",
"build": "tsc --project tsconfig.build.json",
"buildProduction": "tsc --project tsconfig.build.production.json",
"clean": "node scripts/clean.mjs",
"cleanBuild": "npm run clean && npm run build",
"cleanBuildProduction": "npm run clean && npm run buildProduction",
"deepClean": "node scripts/deep-clean.mjs",
"watch": "tsc --project tsconfig.build.json --watch",
"typecheck": "tsc --project tsconfig.json --noEmit",
"test": "vitest run",
"test:watch": "vitest watch",
"test:verbose": "vitest run --reporter verbose",
"test:coverage": "vitest run --coverage --coverage.thresholds.statements=100 --coverage.thresholds.branches=100 --coverage.thresholds.lines=100 --coverage.thresholds.functions=100",
"lint": "oxlint --disable-nested-config",
"lint:fix": "oxlint --disable-nested-config --fix",
"format": "oxfmt",
"format:check": "oxfmt --check",
"git:status": "git status && git branch -vv && git stash list && git fsck --full --no-reflogs",
"git:remote": "git remote -v && git remote show origin",
"git:prune": "git fetch --prune --prune-tags",
"git:hardreset:main": "git fetch origin && git checkout main && git reset --hard origin/main",
"git:hardreset:dev": "git fetch origin && git checkout dev && git reset --hard origin/dev",
"git:hardreset:edge": "git fetch origin && git checkout edge && git reset --hard origin/edge",
"git:rebase:dev": "git fetch origin && git checkout -b dev-backup && git checkout dev && git merge origin/main && git push origin dev",
"reset": "npm run deepClean && npm run softReset",
"softReset": "npm install --no-fund --no-audit && npm prune --no-fund --no-audit && npm link --no-fund --no-audit matterbridge && npm run build && npm run typecheck",
"checkDependencies": "npm install --no-fund --no-audit --no-save npm-check-updates && ncu && npm run softReset",
"updateDependencies": "npm install --no-fund --no-audit --no-save npm-check-updates && ncu -u && npm run softReset",
"runMeBeforePublish": "npm run cleanBuild && npm run format && npm run lint && npm run build && npm run typecheck && npm run test:coverage",
"prepublishOnly": "npm run cleanBuildProduction && npm pkg delete devDependencies scripts automator && node scripts/prepublish-clean.mjs && npm install --no-fund --no-audit --omit=dev && npm shrinkwrap --omit=dev"
},
"dependencies": {
"mqtt": "5.15.2",
"node-ansi-logger": "3.3.0",
"node-persist-manager": "2.1.0"
},
"devDependencies": {
"@types/node": "26.1.1",
"@vitest/coverage-v8": "4.1.10",
"oxfmt": "0.59.0",
"oxlint": "1.74.0",
"oxlint-tsgolint": "0.25.0",
"typescript": "7.0.2",
"vitest": "4.1.10"
}
}