2022-11-06 13:04:30 +01:00
|
|
|
{
|
2022-11-06 13:50:39 +01:00
|
|
|
"name": "homebridge-prometheus-exporter",
|
2022-11-09 14:11:22 +01:00
|
|
|
"version": "0.0.4",
|
2022-11-06 13:50:39 +01:00
|
|
|
"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"
|
|
|
|
},
|
2022-11-08 19:13:34 +01:00
|
|
|
"main": "dist/src/index.js",
|
2022-11-06 13:50:39 +01:00
|
|
|
"scripts": {
|
2022-11-08 22:15:44 +01:00
|
|
|
"lint": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; `npm bin`/prettier --ignore-path=.gitignore `ifNotCi --write --check` '**/**.{ts,js,json}' && `npm bin`/eslint `ifNotCi --fix` --ignore-path=.gitignore '**/**.{ts,js,json}'",
|
|
|
|
"start": "npm run build && npm run link && nodemon",
|
|
|
|
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; `npm bin`/jest `ifNotCi --watchAll`",
|
2022-11-06 13:50:39 +01:00
|
|
|
"link": "npm install --no-save file:///$PWD/",
|
|
|
|
"build": "rimraf ./dist && tsc",
|
|
|
|
"prepublishOnly": "npm run lint && npm run build"
|
|
|
|
},
|
|
|
|
"keywords": [
|
2022-11-08 23:23:46 +01:00
|
|
|
"homebridge-plugin",
|
|
|
|
"prometheus",
|
|
|
|
"monitoring",
|
|
|
|
"homekit"
|
2022-11-06 13:50:39 +01:00
|
|
|
],
|
|
|
|
"devDependencies": {
|
2022-11-08 19:36:50 +01:00
|
|
|
"@jest/globals": "^29.3.0",
|
2022-11-09 00:12:35 +01:00
|
|
|
"@types/node": "^18.11.9",
|
2022-11-06 13:50:39 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
|
|
"eslint": "^8.0.1",
|
2022-11-08 19:36:50 +01:00
|
|
|
"eslint-import-resolver-typescript": "^3.5.2",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-11-06 13:50:39 +01:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"homebridge": "^1.3.5",
|
|
|
|
"homebridge-cmdswitch2": "^0.2.10",
|
2022-11-08 22:15:44 +01:00
|
|
|
"jest": "^29.3.0",
|
|
|
|
"json-schema-to-zod": "^0.2.0",
|
2022-11-06 13:50:39 +01:00
|
|
|
"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",
|
2022-11-09 00:33:00 +01:00
|
|
|
"hap-node-client": "^0.1.25",
|
2022-11-08 19:13:34 +01:00
|
|
|
"zod": "^3.19.1"
|
|
|
|
},
|
|
|
|
"overrides": {
|
|
|
|
"jest-mock": "29.2"
|
2022-11-06 13:50:39 +01:00
|
|
|
}
|
2022-11-06 13:04:30 +01:00
|
|
|
}
|