homebridge-hikvision-local
Version:
Homebridge plugin that connects to your HikVision DVR via a local connection and exposes your cameras in Homebridge. The plugin is heavily based on excellent [homebridge-camera-ffmpeg](https://github.com/Sunoo/homebridge-camera-ffmpeg) and the various hom
93 lines • 2.61 kB
JSON
{
"name": "homebridge-hikvision-local",
"type": "module",
"homepage": "https://github.com/NorthernMan54/homebridge-hikvision-local",
"version": "2.2.0",
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/NorthernMan54/homebridge-hikvision-local.git"
},
"dependencies": {
"@homebridge-plugins/homebridge-camera-ffmpeg": "^4.1.0",
"debug": "^4.4.3",
"digest-fetch": "^3.1.1",
"fast-xml-parser": "^5.3.2"
},
"devDependencies": {
"@types/highland": "^2.13.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.10.1",
"@types/node-persist": "^3.1.8",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"eslint": "^9.39.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-import-newlines": "^1.4.0",
"eslint-plugin-jest": "^29.2.0",
"eslint-plugin-sort-exports": "^0.9.1",
"homebridge": "^1.11.1",
"husky": "^9.1.7",
"jest": "^30.2.0",
"lint-staged": "^16.2.7",
"nodemon": "^3.1.11",
"rimraf": "^6.1.2",
"semver": "^7.7.3",
"ts-jest": "^29.4.5",
"typescript": "^5.9.3"
},
"scripts": {
"build": "rimraf ./dist && tsc",
"start": "npx homebridge -D -I -P . -U .homebridge -Q",
"start-ffmpeg": "npx homebridge -D -I -P ./node_modules/homebridge-camera-ffmpeg -U .homebridge-ffmpeg -Q",
"watch": "nodemon",
"test": "export NODE_TLS_REJECT_UNAUTHORIZED=0;jest --verbose=true",
"test-coverage": "export NODE_TLS_REJECT_UNAUTHORIZED=0;jest --coverage --verbose=true",
"lint": "eslint \"{src,test}/**/*.ts\" --max-warnings=0 --fix",
"prepublishOnly": "npm i --package-lock-only && npm run lint && npm run build",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"prepare": "husky"
},
"engines": {
"homebridge": "^1.6.0 || ^2.0.0-beta.0",
"node": ">=20"
},
"keywords": [
"hikvision",
"homebridge-plugin"
],
"lint-staged": {
"*.ts": "eslint --fix"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"ignore": [],
"exec": "npm run build && DEBUG= homebridge -U ./test/hbConfig -I -T -Q -P .",
"signal": "SIGTERM",
"env": {
"NODE_OPTIONS": "--trace-warnings"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/src/**/*.test.ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": false
}
]
}
}
}