forked from torifat/xiaomi-mi-air-purifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.58 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
{
"displayName": "Xiaomi Mi Air Purifier",
"name": "homebridge-xiaomi-mi-air-purifier",
"version": "2.0.2",
"description": "A short description about what your plugin does.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/torifat/xiaomi-mi-air-purifier"
},
"bugs": {
"url": "https://github.com/torifat/xiaomi-mi-air-purifier/issues"
},
"funding": {
"type": "paypal",
"url": "https://paypal.me/RifatNabi"
},
"engines": {
"node": ">=10.17.0",
"homebridge": ">=1.3.0"
},
"main": "dist/index.js",
"scripts": {
"lint": "eslint src/**/**.ts --max-warnings=0",
"watch": "npm run build && npm link && nodemon",
"build": "rimraf ./dist && tsc",
"prepublishOnly": "npm run lint && npm run build && pinst --disable",
"postinstall": "husky install",
"postpublish": "pinst --enable"
},
"keywords": [
"homebridge-plugin"
],
"dependencies": {
"@rifat/miio": "^2.0.1"
},
"devDependencies": {
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"homebridge": "^1.3.8",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"nodemon": "^2.0.15",
"pinst": "^2.1.6",
"prettier": "^2.5.0",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{ts,css,md}": "prettier --write"
}
}