-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
138 lines (138 loc) · 4.91 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
{
"name": "matterbridge",
"version": "1.3.9",
"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"
],
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"matterbridge": "dist/cli.js"
},
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./utils/*": {
"import": "./dist/utils/*.js",
"types": "./dist/utils/*.d.ts"
},
"./cluster/*": {
"import": "./dist/cluster/*.js",
"types": "./dist/cluster/*.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",
"watch": "tsc --watch",
"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:help": "node ./dist/cli.js -help",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:verbose": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"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": "rimraf tsconfig.tsbuildinfo ./dist",
"cleanBuild": "npm run clean && npm run build",
"deepClean": "rimraf tsconfig.tsbuildinfo package-lock.json ./dist ./node_modules",
"deepCleanRebuild": "npm run deepClean && npm install && npm run build && npm ls rimraf inflight glob",
"prepublishOnly": "npm run wtf:uninstall && npm uninstall matter-history && npm install matter-history && npm run lint && npm run cleanBuild",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm install & npm run cleanBuild",
"updateMatter:latest": "npm run deepClean && npm install @project-chip/matter-node.js@latest && npm install && npm run build",
"updateMatter:dev": "npm run deepClean && npm install @project-chip/matter-node.js@dev && npm install && npm run build",
"wtf:install": "npm install wtfnode && npm install --save-dev @types/wtfnode",
"wtf:uninstall": "npm uninstall wtfnode @types/wtfnode",
"preversion": "npm run build && npm run lint",
"postversion": "git push && git push --tags",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"install:dependencies": "npm install @project-chip/matter-node.js body-parser express https matter-history node-ansi-logger node-persist-manager ws && npm install --save-dev rimraf",
"install:typescript": "npm install --save-dev @types/express @types/node @types/ws typescript && npm run build",
"install:eslint": "npm install --save-dev @eslint/js @types/eslint__js typescript-eslint",
"install:prettier": "npm install --save-dev prettier eslint-config-prettier eslint-plugin-prettier",
"install:jest": "npm install --save-dev jest ts-jest @types/jest eslint-plugin-jest"
},
"overrides": {
"eslint": "latest"
},
"dependencies": {
"@project-chip/matter-node.js": "^0.9.3",
"body-parser": "^1.20.2",
"express": "^4.19.2",
"https": "^1.0.0",
"matter-history": "^1.1.2",
"node-ansi-logger": "^1.9.5",
"node-persist-manager": "^1.0.7",
"ws": "^8.17.1"
},
"devDependencies": {
"@eslint/js": "^9.6.0",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.9",
"@types/ws": "^8.5.10",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"ts-jest": "^29.1.5",
"typescript": "^5.5.2",
"typescript-eslint": "^7.14.1"
}
}