-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 5.89 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 5.89 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
{
"name": "matterbridge-plugin-template",
"version": "1.0.0",
"description": "Matterbridge Template Plugin",
"author": "https://github.com/Luligu",
"homepage": "https://github.com/Luligu/matterbridge-plugin-template/blob/main/README.md",
"license": "Apache-2.0",
"type": "module",
"main": "dist/module.js",
"types": "dist/module.d.ts",
"engines": {
"node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge-plugin-template.git"
},
"bugs": {
"url": "https://github.com/Luligu/matterbridge-plugin-template/issues"
},
"funding": {
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/luligugithub"
},
"keywords": [
"matterbridge",
"plugin",
"template",
"matter.js",
"matter-node.js",
"matter",
"matterprotocol",
"iot",
"smarthome",
"connectedthings",
"hap",
"homekit",
"siri",
"google-home",
"alexa",
"homeassistant",
"smartthings",
"ewelink"
],
"scripts": {
"start": "matterbridge",
"build": "tsc",
"buildProduction": "tsc --project tsconfig.production.json",
"watch": "tsc --watch",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:verbose": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
"test:watch": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --watch -verbose",
"test:coverage": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --verbose --coverage",
"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",
"clean": "npx shx rm -rf tsconfig.tsbuildinfo dist coverage jest temp package-lock.json npm-shrinkwrap.json node_modules/* node_modules/.[!.]* node_modules/..?*",
"cleanBuild": "npm shx rm -rf tsconfig.tsbuildinfo dist && npm run build",
"cleanBuildProduction": "npx shx rm -rf tsconfig.tsbuildinfo dist && npm run buildProduction",
"reset": "npm run clean && npm install && npm link matterbridge && npm run build",
"lint": "eslint --max-warnings=0 .",
"lint:fix": "eslint --fix --max-warnings=0 .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"preversion": "npm run runMeBeforePublish",
"postversion": "git push && git push --tags",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"git:status": "git status && git branch -vv",
"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",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm run reset",
"runMeBeforePublish": "npm run lint && npm run format && npm run test && npm run build",
"prepublishOnly": "npm run cleanBuildProduction && npm pkg delete devDependencies scripts types && npx shx rm -rf node_modules/* node_modules/.[!.]* node_modules/..?* && npm install --omit=dev && npm shrinkwrap",
"npmPack": "npx shx cp package.json package.json.backup && npm run prepublishOnly && npm pack && npx shx cp package.json.backup package.json && npx shx rm -rf package.json.backup && npm run reset",
"npmPublishTagDev": "npx shx cp package.json package.json.backup && npm run prepublishOnly && npm publish --tag dev && npx shx cp package.json.backup package.json && npx shx rm -rf 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 -rf package.json.backup && npm run reset",
"install:dependencies": "npm install --save-exact node-ansi-logger node-persist-manager",
"install:scripts": "npm install --save-dev --save-exact npm-check-updates shx",
"install:typescript": "npm install --save-dev --save-exact typescript @types/node",
"install:eslint": "npm install --save-dev --save-exact @eslint/js typescript-eslint eslint-plugin-import eslint-plugin-n eslint-plugin-promise eslint-plugin-jsdoc",
"install:prettier": "npm install --save-dev --save-exact prettier eslint-config-prettier eslint-plugin-prettier",
"install:jest": "npm install --save-dev --save-exact jest ts-jest @types/jest @jest/globals eslint-plugin-jest",
"install:vitest": "npm install --save-dev --save-exact vitest @vitest/coverage-v8 @vitest/eslint-plugin",
"dev:link": "npm link 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.0.1",
"node-persist-manager": "2.0.0"
},
"devDependencies": {
"@eslint/js": "9.29.0",
"@jest/globals": "30.0.2",
"@types/jest": "30.0.0",
"@types/node": "24.0.3",
"@vitest/coverage-v8": "3.2.4",
"@vitest/eslint-plugin": "1.2.7",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.0.1",
"eslint-plugin-jsdoc": "51.2.1",
"eslint-plugin-n": "17.20.0",
"eslint-plugin-prettier": "5.5.0",
"eslint-plugin-promise": "7.2.1",
"jest": "30.0.2",
"npm-check-updates": "18.0.1",
"prettier": "3.5.3",
"shx": "0.4.0",
"ts-jest": "29.4.0",
"typescript": "5.8.3",
"typescript-eslint": "8.34.1",
"vitest": "3.2.4"
}
}