-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
157 lines (157 loc) · 8.11 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
{
"name": "matterbridge",
"version": "1.6.7",
"description": "Matterbridge plugin manager for Matter",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
"homepage": "https://github.com/Luligu/matterbridge/blob/main/README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge.git"
},
"bugs": {
"url": "https://github.com/Luligu/matterbridge/issues"
},
"funding": {
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/luligugithub"
},
"keywords": [
"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"
],
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"matterbridge": "dist/cli.js"
},
"engines": {
"node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./matter": {
"import": "./dist/matter/export.js",
"types": "./dist/matter/export.d.ts"
},
"./cluster": {
"import": "./dist/cluster/export.js",
"types": "./dist/cluster/export.d.ts"
},
"./utils": {
"import": "./dist/utils/export.js",
"types": "./dist/utils/export.d.ts"
},
"./logger": {
"import": "./dist/logger/export.js",
"types": "./dist/logger/export.d.ts"
},
"./storage": {
"import": "./dist/storage/export.js",
"types": "./dist/storage/export.d.ts"
}
},
"scripts": {
"build": "tsc",
"buildProduction": "npm run clean && tsc --project tsconfig.production.json",
"watch": "tsc --watch",
"start": "node ./dist/cli.js",
"start:test": "node ./dist/cli.js -test",
"start:bridge": "node ./dist/cli.js -bridge",
"start:childbridge": "node ./dist/cli.js -childbridge",
"start:controller": "node ./dist/cli.js -controller",
"start:edge": "node ./dist/cli.js -edge -debug -logger debug -matterlogger debug",
"start:help": "node ./dist/cli.js -help",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage",
"test:verbose": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --watch",
"test:matterbridge": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage matterbridge.test.ts",
"test:bridgemode": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose matterbridge.bridge.test.ts",
"test:childbridgemode": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose matterbridge.childbridge.test.ts",
"test:device": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage matterbridgeDevice.test.ts",
"test:enpoint": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage --detectOpenHandles matterbridgeEndpoint.test.ts",
"test:matterjsenpoint": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage --detectOpenHandles matterbridgeEndpoint.matterjs.test.ts",
"test:platform": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage matterbridgePlatform.test.ts matterbridgeAccessoryPlatform.test.ts matterbridgeDynamicPlatform.test.ts",
"test:pluginManager": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage pluginManager.test.ts",
"test:deviceManager": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage deviceManager.test.ts",
"test:utils": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage utils.test.ts",
"test:colorUtils": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage colorUtils.test.ts",
"test:websocket": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --coverage matterbridgeWebsocket.test.ts",
"lint": "eslint --max-warnings=0 .",
"lint:fix": "eslint --fix --max-warnings=0 .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"clean": "npx rimraf tsconfig.tsbuildinfo ./dist",
"cleanBuild": "npm run clean && npm run build",
"deepClean": "npx rimraf tsconfig.tsbuildinfo package-lock.json npm-shrinkwrap.json ./dist ./node_modules",
"deepCleanBuild": "npm run deepClean && npm install && npm run build && npm link",
"prepublishOnly": "npm pkg delete devDependencies && npm pkg delete scripts && npm install --omit=dev && npm shrinkwrap",
"npmPack": "copy package.json package.log && npm run buildProduction && npm pkg delete devDependencies && npm pkg delete scripts && npm pkg delete types && npx rimraf ./node_modules && npm install --omit=dev && npm shrinkwrap && npm pack && copy package.log package.json && npm run deepCleanBuild",
"npmPublishTagDev": "copy package.json package.log && npm run buildProduction && npm pkg delete devDependencies && npm pkg delete scripts && npm pkg delete types && npx rimraf ./node_modules && npm install --omit=dev && npm shrinkwrap && npm publish --tag dev && copy package.log package.json && npm run deepCleanBuild",
"npmPublishTagLatest": "copy package.json package.log && npm run buildProduction && npm pkg delete devDependencies && npm pkg delete scripts && npm pkg delete types && npx rimraf ./node_modules && npm install --omit=dev && npm shrinkwrap && npm publish --tag latest && copy package.log package.json && npm run deepCleanBuild",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm install && npm run cleanBuild && npm link",
"updateMatter:latest": "npm run deepClean && npm install @matter/main@latest @matter/nodejs@latest @project-chip/matter.js@latest && npm install && npm run build",
"updateMatter:dev": "npm run deepClean && npm install @matter/main@dev @matter/nodejs@dev @project-chip/matter.js@dev && npm install && npm run build",
"updateMatter:loc": "npm run deepClean && npm install ../matter.js/packages/matter-node.js ../matter.js/packages/matter.js && npm install && npm run build",
"install:dependencies": "npm install @matter/main @matter/nodejs @project-chip/matter.js archiver express glob https node-ansi-logger node-persist-manager ws",
"install:typescript": "npm install --save-dev @types/express @types/node @types/ws typescript && npm run build",
"install:eslint": "npm install --save-dev eslint @eslint/js @types/eslint__js typescript-eslint && npm run lint",
"install:prettier": "npm install --save-dev prettier eslint-config-prettier eslint-plugin-prettier && npm run format",
"install:jest": "npm install --save-dev jest ts-jest @types/jest eslint-plugin-jest && npm run test"
},
"dependencies": {
"@matter/main": "0.11.9",
"@matter/nodejs": "0.11.9",
"@project-chip/matter.js": "0.11.9",
"archiver": "7.0.1",
"express": "4.21.2",
"glob": "11.0.0",
"https": "1.0.0",
"node-ansi-logger": "3.0.0",
"node-persist-manager": "1.0.8",
"ws": "8.18.0"
},
"devDependencies": {
"@eslint/js": "9.16.0",
"@types/archiver": "6.0.3",
"@types/eslint__js": "8.42.3",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@types/ws": "8.5.13",
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-prettier": "5.2.1",
"jest": "29.7.0",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"typescript": "5.7.2",
"typescript-eslint": "8.18.0"
}
}