2022-11-06 13:04:30 +01:00
|
|
|
{
|
2022-11-06 13:50:39 +01:00
|
|
|
"name": "homebridge-prometheus-exporter",
|
2023-01-08 17:22:39 +01:00
|
|
|
"version": "1.0.5",
|
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-12-20 13:57:00 +01:00
|
|
|
"_portable_exec": "npmPortableExec() { `npm root`/.bin/$@; }; npmPortableExec",
|
|
|
|
"lint": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; npm run _portable_exec -- tsc --noEmit && npm run _portable_exec -- prettier --ignore-path=.gitignore `ifNotCi --write \"--check --cache --cache-strategy content\"` '**/**.{ts,js,json}' && npm run _portable_exec -- eslint `ifNotCi --fix \"--cache --cache-strategy content\"` --ignore-path=.gitignore '**/**.{ts,js,json}'",
|
2022-11-08 22:15:44 +01:00
|
|
|
"start": "npm run build && npm run link && nodemon",
|
2022-12-20 13:57:00 +01:00
|
|
|
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; npm run code-generation && npm run _portable_exec -- jest `ifNotCi --watchAll --collect-coverage`",
|
2022-11-06 13:50:39 +01:00
|
|
|
"link": "npm install --no-save file:///$PWD/",
|
2022-11-16 23:28:48 +01:00
|
|
|
"build": "rimraf ./dist .tsbuildinfo && npm run code-generation && tsc",
|
2022-11-10 13:06:16 +01:00
|
|
|
"code-generation": "./code-generation/hap-gen.js && ./code-generation/config-scheme-gen.js",
|
2022-11-10 11:07:31 +01:00
|
|
|
"prepublishOnly": "npm run code-generation && npm run lint && npm run build",
|
2022-11-10 13:40:34 +01:00
|
|
|
"release": "release-it --only-version"
|
2022-11-06 13:50:39 +01:00
|
|
|
},
|
|
|
|
"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-16 22:19:08 +01:00
|
|
|
"@types/bcrypt": "^5.0.0",
|
2023-05-22 15:44:03 +02:00
|
|
|
"@types/node": "^20.2.3",
|
2022-11-09 19:08:24 +01:00
|
|
|
"@types/supertest": "^2.0.12",
|
2022-11-06 13:50:39 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
|
|
"@typescript-eslint/parser": "^5.42.0",
|
2023-01-12 16:15:30 +01:00
|
|
|
"array.prototype.flatmap": "^1.3.1",
|
2022-11-06 13:50:39 +01:00
|
|
|
"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",
|
2022-11-18 13:11:43 +01:00
|
|
|
"hap-nodejs": "^0.11.0",
|
2022-11-06 13:50:39 +01:00
|
|
|
"homebridge": "^1.3.5",
|
|
|
|
"homebridge-cmdswitch2": "^0.2.10",
|
2022-11-08 22:15:44 +01:00
|
|
|
"jest": "^29.3.0",
|
2022-12-09 22:30:27 +01:00
|
|
|
"json-schema-to-zod": "^0.6.0",
|
2022-11-06 13:50:39 +01:00
|
|
|
"nodemon": "^2.0.13",
|
|
|
|
"prettier": "^2.7.1",
|
2023-07-06 02:31:36 +02:00
|
|
|
"release-it": "^16.0.0",
|
2023-04-11 13:31:38 +02:00
|
|
|
"rimraf": "^5.0.0",
|
2022-11-09 19:08:24 +01:00
|
|
|
"supertest": "^6.3.1",
|
2022-11-06 13:50:39 +01:00
|
|
|
"ts-jest": "^29.0.3",
|
|
|
|
"ts-node": "^10.3.0",
|
2023-03-19 23:54:57 +01:00
|
|
|
"typescript": "^5.0.2"
|
2022-11-06 13:50:39 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-16 22:19:08 +01:00
|
|
|
"@fastify/auth": "^4.1.0",
|
2022-12-01 00:48:38 +01:00
|
|
|
"@fastify/basic-auth": "^5.0.0",
|
2023-01-08 15:12:01 +01:00
|
|
|
"array.prototype.group": "^1.1.2",
|
2022-11-16 22:19:08 +01:00
|
|
|
"bcrypt": "^5.1.0",
|
2022-11-06 13:50:39 +01:00
|
|
|
"fastify": "^4.9.2",
|
2023-01-04 11:59:40 +01:00
|
|
|
"hap-node-client": "^0.2.1",
|
2022-11-08 19:13:34 +01:00
|
|
|
"zod": "^3.19.1"
|
2022-11-06 13:50:39 +01:00
|
|
|
}
|
2022-11-06 13:04:30 +01:00
|
|
|
}
|