56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"private": true,
|
|
"name": "homebridge-prometheus-exporter",
|
|
"version": "0.0.1",
|
|
"description": "Prometheus exporter for homebridge accessories.",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lstrojny/homebridge-prometheus-exporter.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/lstrojny/homebridge-prometheus-exporter/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.18.1",
|
|
"homebridge": ">=1.3.5"
|
|
},
|
|
"main": "dist/src/index.js",
|
|
"scripts": {
|
|
"lint": "npm run format && eslint --ignore-path=.gitignore '**/**.{ts,js,json}'",
|
|
"watch": "npm run build && npm run link && nodemon",
|
|
"watch-tests": "jest --watch",
|
|
"tests": "jest",
|
|
"link": "npm install --no-save file:///$PWD/",
|
|
"build": "rimraf ./dist && tsc",
|
|
"format": "prettier --ignore-path=.gitignore --write '**/**.{ts,js,json}'",
|
|
"prepublishOnly": "npm run lint && npm run build"
|
|
},
|
|
"keywords": [
|
|
"homebridge-plugin"
|
|
],
|
|
"devDependencies": {
|
|
"@types/node": "^16.10.9",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"eslint": "^8.0.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"homebridge": "^1.3.5",
|
|
"homebridge-cmdswitch2": "^0.2.10",
|
|
"nodemon": "^2.0.13",
|
|
"prettier": "^2.7.1",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^29.0.3",
|
|
"ts-node": "^10.3.0",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"dependencies": {
|
|
"fastify": "^4.9.2",
|
|
"hap-node-client": "git+https://github.com/NorthernMan54/Hap-Node-Client.git#fe200ba",
|
|
"json-schema-to-zod": "^0.2.0",
|
|
"zod": "^3.19.1"
|
|
},
|
|
"overrides": {
|
|
"jest-mock": "29.2"
|
|
}
|
|
}
|