forked from arendruni/homebridge-pihole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.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
{
"name": "homebridge-pihole",
"version": "0.3.0",
"description": "Pihole Switch for Homebridge: https://github.com/nfarina/homebridge",
"main": "dist/index.js",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rm -rf ./dist",
"postpublish": "npm run clean",
"prepublishOnly": "npm run build",
"test": "node ./dist/index.js && echo \"No syntax errors! (node $(node -v))\"",
"prettify": "prettier --write 'src/*.{js,ts}' '*.json'",
"lint": "eslint 'src/*.{js,ts}'",
"watch": "tsc --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/arendruni/homebridge-pihole"
},
"keywords": [
"homebridge-plugin"
],
"author": "arendruni",
"license": "MIT",
"bugs": {
"url": "https://github.com/arendruni/homebridge-pihole/issues"
},
"homepage": "https://github.com/arendruni/homebridge-pihole#readme",
"dependencies": {
"axios": "^0.19.2"
},
"engines": {
"homebridge": ">=0.2.0"
},
"devDependencies": {
"@types/node": "^10.17.21",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"eslint": "^7.1.0",
"homebridge": "^1.0.3",
"husky": "^4.2.5",
"lint-staged": "^10.2.7",
"prettier": "^2.0.5",
"typescript": "^3.8.3"
},
"lint-staged": {
"src/*.{js,ts}": [
"prettier --write",
"eslint"
],
"./*.json": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}