-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 3.63 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
{
"displayName": "Homebridge HomeWizard Energy Socket",
"name": "homebridge-homewizard-energy-socket",
"version": "1.6.4",
"description": "This Homebridge plugin exposes your HomeWizard Energy Sockets to Apple HomeKit. So you can use the Home App to switch your Energy Sockets on or off and integrate the Energy Sockets into your Home Automations.",
"license": "MIT",
"author": {
"name": "Jordy van den Aardweg",
"url": "https://github.com/jvandenaardweg"
},
"homepage": "https://github.com/jvandenaardweg/homebridge-homewizard-energy-socket#readme",
"repository": {
"type": "git",
"url": "https://github.com/jvandenaardweg/homebridge-homewizard-energy-socket.git"
},
"bugs": {
"url": "https://github.com/jvandenaardweg/homebridge-homewizard-energy-socket/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/jvandenaardweg"
},
{
"type": "paypal",
"url": "https://paypal.me/jvandenaardweg"
}
],
"engines": {
"node": ">=14.18.1",
"homebridge": ">=1.3.5"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"lint": "eslint src/**.ts --max-warnings=0",
"watch": "npm run build && npm link && nodemon",
"build": "rimraf ./dist && tsc --project tsconfig.build.json && resolve-tspaths",
"prepublishOnly": "npm run lint && npm run build",
"pretest": "npm run lint && npm run type-check",
"homebridge": "homebridge -D",
"update": "npx npm-check-updates --interactive",
"test": "vitest run --coverage",
"test:watch": "vitest",
"release": "dotenv npx release-it",
"type-check": "tsc --noEmit",
"prepare": "is-ci || husky install",
"lint-staged": "lint-staged"
},
"keywords": [
"home-automation",
"home automation",
"apple",
"homebridge",
"homebridge-plugin",
"homebridge plugin",
"homekit",
"homekit-accessory",
"homekit accessory",
"homewizard",
"apple-homekit",
"apple homekit",
"homebridge-plugins",
"homebridge plugins",
"homewizard-energy",
"homewizard energy",
"homewizard-energy-socket",
"homewizard energy socket",
"apple-home",
"apple home"
],
"devDependencies": {
"@types/node": "^20.4.5",
"@types/validator": "^13.11.5",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitest/coverage-istanbul": "^2.1.8",
"dotenv-cli": "^7.3.0",
"eslint": "^8.53.0",
"homebridge": "^1.8.5",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"lint-staged": "^15.0.2",
"nodemon": "^2.0.20",
"prettier": "^3.0.3",
"release-it": "^16.2.1",
"resolve-tspaths": "^0.8.17",
"rimraf": "^5.0.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"dependencies": {
"bonjour-service": "^1.1.1",
"homewizard-energy-api": "^1.5.0",
"undici": "^5.27.2",
"validator": "^13.11.0",
"zod": "^3.22.4"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"after:bump": "npx auto-changelog -p --commit-limit false"
},
"npm": {
"publish": false
},
"github": {
"release": true,
"releaseName": "v${version}"
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
],
"*.js": [
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
}
}