-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 6.97 KB
/
package.json
File metadata and controls
145 lines (145 loc) · 6.97 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
{
"name": "matterbridge-hass",
"version": "1.2.1",
"description": "Matterbridge hass plugin",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
"homepage": "https://www.npmjs.com/package/matterbridge-hass",
"type": "module",
"main": "dist/module.js",
"types": "dist/module.d.ts",
"exports": {
".": {
"import": "./dist/module.js",
"types": "./dist/module.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge-hass.git"
},
"bugs": {
"url": "https://github.com/Luligu/matterbridge-hass/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",
"hass",
"smartthings",
"ewelink",
"childbridge",
"hassio"
],
"engines": {
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
},
"files": [
"bin",
"dist",
"npm-shrinkwrap.json",
"CHANGELOG.md",
"*.config.json",
"*.schema.json"
],
"scripts": {
"start": "matterbridge",
"build": "tsc --project tsconfig.build.json",
"buildProduction": "tsc --project tsconfig.build.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 --project tsconfig.build.json --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 --coverageThreshold=\"{ \\\"global\\\": { \\\"lines\\\": 100, \\\"functions\\\": 100 } }\"",
"test:typecheck": "tsc --project tsconfig.jest.json --isolatedModules false --noEmit",
"test:debug": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"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/run-automator.mjs --plugin --no-vitest --enable-promise-rules",
"runMeBeforePublish": "npm run cleanBuild && npm run format && npm run lint && npm run build && npm run test:typecheck && npm run test:coverage",
"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": {
"node-ansi-logger": "3.2.1",
"node-persist-manager": "2.0.2",
"ws": "8.20.0"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@eslint/json": "1.2.0",
"@eslint/markdown": "8.0.1",
"@jest/globals": "30.3.0",
"@types/jest": "30.0.0",
"@types/node": "25.6.0",
"@types/ws": "8.18.1",
"cross-env": "10.1.0",
"eslint": "10.3.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jest": "29.15.2",
"eslint-plugin-jsdoc": "62.9.0",
"eslint-plugin-n": "17.24.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-simple-import-sort": "13.0.0",
"jest": "30.3.0",
"npm-check-updates": "22.0.1",
"prettier": "3.8.3",
"shx": "0.4.0",
"ts-jest": "29.4.9",
"typescript": "6.0.3",
"typescript-eslint": "8.59.1"
}
}