-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 7.29 KB
/
package.json
File metadata and controls
159 lines (159 loc) · 7.29 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "matterbridge-zigbee2mqtt",
"version": "3.0.10",
"description": "Matterbridge zigbee2mqtt plugin",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
"type": "module",
"main": "dist/module.js",
"types": "dist/module.d.ts",
"exports": {
".": {
"import": "./dist/module.js",
"types": "./dist/module.d.ts"
}
},
"homepage": "https://www.npmjs.com/package/matterbridge-zigbee2mqtt",
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge-zigbee2mqtt.git"
},
"bugs": {
"url": "https://github.com/Luligu/matterbridge-zigbee2mqtt/issues"
},
"funding": {
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/luligugithub"
},
"keywords": [
"matterbridge",
"homebridge",
"homekit",
"hap",
"bridge",
"matter",
"matter.js",
"matter-node.js",
"matterprotocol",
"google-home",
"alexa",
"homeassistant",
"iot",
"smarthome",
"connectedthings",
"zigbee",
"zigbee2mqtt",
"childbridge",
"plugin",
"frontend",
"siri",
"hass",
"hassio",
"smartthings",
"ewelink"
],
"engines": {
"node": ">=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
},
"files": [
"bin",
"dist",
"screenshots",
"npm-shrinkwrap.json",
"CHANGELOG.md",
"*.config.json",
"*.schema.json"
],
"scripts": {
"start": "matterbridge",
"build": "tsc --project tsconfig.json",
"buildProduction": "tsc --project tsconfig.production.json",
"clean": "npx shx rm -rf *.tsbuildinfo dist",
"cleanBuild": "npm run clean && npm run build",
"cleanBuildProduction": "npm run clean && npm run buildProduction",
"deepClean": "npm run clean && npx shx rm -rf coverage jest temp package-lock.json npm-shrinkwrap.json .cache/* .cache/.[!.]* .cache/..?* node_modules/* node_modules/.[!.]* node_modules/..?*",
"watch": "tsc --watch",
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest --maxWorkers=100%",
"test:watch": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest --maxWorkers=100% --watch",
"test:verbose": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest --maxWorkers=100% --verbose",
"test:coverage": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest --maxWorkers=100% --coverage",
"test:typecheck": "tsc --project tsconfig.jest.json --isolatedModules false --noEmit",
"test:debug": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:vitest": "vitest run",
"test:vitest:watch": "vitest --reporter verbose",
"test:vitest:verbose": "vitest run --reporter verbose",
"test:vitest:coverage": "vitest run --reporter verbose --coverage",
"lint": "eslint --cache --cache-location .cache/.eslintcache --max-warnings=0 .",
"lint:fix": "eslint --cache --cache-location .cache/.eslintcache --fix --max-warnings=0 .",
"lint:debug": "eslint --cache --cache-location .cache/.eslintcache --max-warnings=0 --debug",
"lint:config": "eslint --cache --cache-location .cache/.eslintcache --max-warnings=0 --print-config",
"lint:inspect": "eslint --cache --cache-location .cache/.eslintcache --max-warnings=0 --inspect-config",
"format": "prettier --cache --cache-location .cache/.prettiercache --write .",
"format:check": "prettier --cache --cache-location .cache/.prettiercache --check .",
"preversion": "npm run runMeBeforePublish",
"postversion": "npm run build",
"version:patch": "npm version patch --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version",
"version:major": "npm version major --no-git-tag-version",
"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",
"reset": "npm run deepClean && npm install --no-fund --no-audit && npm link --no-fund --no-audit matterbridge && npm run build",
"softReset": "npm install --no-fund --no-audit && npm link --no-fund --no-audit matterbridge && npm run build",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm run reset",
"automator": "node scripts/runAutomator.mjs --plugin",
"runMeBeforePublish": "npm run cleanBuild && npm run lint && npm run format && npm run test:typecheck && npm run test:coverage && npm run build",
"prepublishOnly": "npm run cleanBuildProduction && npm pkg delete devDependencies scripts && npx shx rm -rf node_modules/* node_modules/.[!.]* node_modules/..?* package-lock.json npm-shrinkwrap.json && npm install --omit=dev && npm shrinkwrap --omit=dev",
"npmPack": "npx shx cp package.json package.json.backup && node scripts/version.mjs dev && npm run prepublishOnly && npm pack && npx shx cp package.json.backup package.json && npx shx rm -f package.json.backup && npm run reset",
"npmPublishTagDev": "npx shx cp package.json package.json.backup && node scripts/version.mjs dev && npm run prepublishOnly && npm publish --tag dev && npx shx cp package.json.backup package.json && npx shx rm -f package.json.backup && npm run reset",
"npmPublishTagEdge": "npx shx cp package.json package.json.backup && node scripts/version.mjs edge && npm run prepublishOnly && npm publish --tag edge && npx shx cp package.json.backup package.json && npx shx rm -f package.json.backup && npm run reset",
"npmPublishTagLatest": "npx shx cp package.json package.json.backup && npm run prepublishOnly && npm publish --tag latest && npx shx cp package.json.backup package.json && npx shx rm -f package.json.backup && npm run reset",
"dev:link": "npm link --no-fund --no-audit matterbridge",
"matterbridge:add": "matterbridge -add .",
"matterbridge:remove": "matterbridge -remove .",
"matterbridge:enable": "matterbridge -enable .",
"matterbridge:disable": "matterbridge -disable .",
"matterbridge:list": "matterbridge -list"
},
"dependencies": {
"moment": "2.30.1",
"mqtt": "5.15.0",
"node-ansi-logger": "3.2.0",
"node-persist-manager": "2.0.1"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@eslint/json": "1.2.0",
"@eslint/markdown": "7.5.1",
"@jest/globals": "30.3.0",
"@types/jest": "30.0.0",
"@types/node": "25.5.0",
"@vitest/coverage-v8": "4.1.0",
"@vitest/eslint-plugin": "1.6.12",
"cross-env": "10.1.0",
"eslint": "10.1.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jest": "29.15.0",
"eslint-plugin-jsdoc": "62.8.0",
"eslint-plugin-n": "17.24.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"jest": "30.3.0",
"npm-check-updates": "19.6.5",
"prettier": "3.8.1",
"shx": "0.4.0",
"ts-jest": "29.4.6",
"typescript": "5.9.3",
"typescript-eslint": "8.57.1",
"vitest": "4.1.0"
},
"overrides": {
"eslint": "10.1.0",
"@eslint/js": "10.0.1"
}
}