-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
110 lines (110 loc) · 3.39 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
{
"name": "homebridge-tplink-smarthome",
"displayName": "Homebridge TPLink Smarthome",
"version": "8.0.3",
"description": "TPLink Smarthome plugin for Homebridge",
"keywords": [
"homebridge-plugin",
"homebridge",
"tplink",
"kasa",
"homeautomation",
"automation",
"home",
"smarthome",
"smartplug",
"smartswitch",
"smartbulb"
],
"bugs": {
"url": "https://github.com/plasticrake/homebridge-tplink-smarthome/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/plasticrake/homebridge-tplink-smarthome.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/plasticrake"
},
"license": "MIT",
"author": "Patrick Seal",
"main": "lib/index.js",
"files": [
"config.schema.json",
"lib"
],
"scripts": {
"prebuild": "npm run clean",
"build": "tsc --project tsconfig.source.json",
"clean": "rimraf lib/ build/",
"clean:debug": "rimraf $PWD/test/homebridge/persist && npm run clean:debug:acc",
"clean:debug:acc": "rimraf $PWD/test/homebridge/accessories",
"clean:debugsim": "rimraf $PWD/test/homebridge-simulator/persist && npm run clean:debugsim:acc",
"clean:debugsim:acc": "rimraf $PWD/test/homebridge-simulator/accessories",
"debug": "npm run build && npm run debug:only",
"debug:only": "homebridge --debug --user-storage-path $PWD/test/homebridge --plugin-path .",
"debugsim": "npm run build && npm run debugsim:only",
"debugsim:only": "homebridge --debug --user-storage-path $PWD/test/homebridge-simulator --plugin-path .",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts . && tsc --noEmit",
"prepare": "npm run build",
"release": "commit-and-tag-version --sign",
"spellcheck": "cspell '{src,test}/**/*' *.md",
"start": "homebridge --plugin-path .",
"pretest": "npm run lint",
"test": "npm run test:only",
"test:only": "jest",
"preversion": "npm test",
"postversion": "git push && git push --tags"
},
"dependencies": {
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"chalk": "^4.1.2",
"lodash.castarray": "^4.4.0",
"lodash.defaults": "^4.2.0",
"semver": "^7.6.0",
"tplink-smarthome-api": "~5.0.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/lodash.castarray": "^4.4.9",
"@types/lodash.defaults": "^4.2.9",
"@types/node": "^20.11.20",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"commit-and-tag-version": "^12.2.0",
"cspell": "^8.4.1",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"fs-extra": "^11.2.0",
"hap-nodejs": "~0.11.1",
"homebridge": "~1.7.0",
"jest": "^29.7.0",
"jest-chain": "^1.1.6",
"node-persist": "0.0.11",
"prettier": "3.2.5",
"rewire": "^7.0.0",
"tplink-smarthome-simulator": "^5.0.1",
"ts-essentials": "^9.4.1",
"ts-jest": "^29.1.2",
"typescript": "~5.3.3"
},
"engines": {
"homebridge": ">=1.6.0",
"node": ">=18"
},
"commit-and-tag-version": {
"scripts": {
"prerelease": "npm test"
}
}
}