-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
119 lines (119 loc) · 3.27 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
{
"displayName": "HomeWizard Energy API",
"name": "homewizard-energy-api",
"version": "1.5.0",
"description": "Typesafe Node implementation of the HomeWizard Energy API",
"license": "MIT",
"author": {
"name": "Jordy van den Aardweg",
"url": "https://github.com/jvandenaardweg"
},
"homepage": "https://github.com/jvandenaardweg/homewizard-energy-api#readme",
"repository": {
"type": "git",
"url": "https://github.com/jvandenaardweg/homewizard-energy-api.git"
},
"bugs": {
"url": "https://github.com/jvandenaardweg/homewizard-energy-api/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/jvandenaardweg"
},
{
"type": "paypal",
"url": "https://paypal.me/jvandenaardweg"
}
],
"engines": {
"node": ">=14.18.1"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"lint": "eslint src/**.ts --max-warnings=0",
"build": "rimraf ./dist && tsc --project tsconfig.build.json && resolve-tspaths",
"prepublishOnly": "npm run test && npm run build",
"pretest": "npm run lint && npm run type-check",
"update": "npx npm-check-updates --interactive",
"test": "TZ=Europe/Amsterdam vitest run --coverage",
"test:watch": "TZ=Europe/Amsterdam vitest",
"release": "dotenv npx release-it",
"type-check": "tsc --noEmit",
"prepare": "is-ci || husky install",
"lint-staged": "lint-staged",
"watch": "nodemon ./src/examples/**",
"watch:polling": "nodemon ./src/examples/polling-p1-meter-telegram.ts"
},
"keywords": [
"homewizard",
"homewizard-energy",
"homewizard energy",
"homewizard-energy-socket",
"homewizard energy socket",
"homewizard-api",
"homewizard api",
"homewizard-energy-api",
"homewizard energy api"
],
"devDependencies": {
"@types/multicast-dns": "^7.2.1",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.60.1",
"@vitest/coverage-istanbul": "^0.28.5",
"dotenv-cli": "^7.2.1",
"eslint": "^8.41.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"lint-staged": "^13.2.3",
"nodemon": "^3.0.1",
"prettier": "^2.8.8",
"release-it": "^16.1.5",
"resolve-tspaths": "^0.8.8",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6",
"vitest": "^0.29.2"
},
"dependencies": {
"date-fns": "^2.30.0",
"multicast-dns": "^7.2.5",
"undici": "^5.22.1"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false --hide-credit --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 --hide-credit"
},
"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"
}
}
}