UNPKG

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

95 lines (94 loc) 2.71 kB
{ "name": "homebridge-hikvision-local", "homepage": "https://github.com/NorthernMan54/homebridge-hikvision-local", "version": "2.1.0", "main": "dist/index.js", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/NorthernMan54/homebridge-hikvision-local.git" }, "dependencies": { "@lukesthl/ts-axios-digest-auth": "^1.0.5", "axios": "^1.7.9", "axios-debug-log": "^1.0.0", "axios-digest": "^0.3.0", "debug": "^4.4.0", "homebridge-camera-ffmpeg": "v3.1.4", "xml2js": "^0.6.2" }, "overrides": { "axios-digest": { "axios": "$axios" } }, "devDependencies": { "@types/highland": "^2.13.0", "@types/jest": "^29.5.12", "@types/node": "^20.14.9", "@types/node-persist": "^3.1.8", "@types/xml2js": "^0.4.14", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "eslint": "^8.57.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-import-newlines": "^1.4.0", "eslint-plugin-jest": "^28.6.0", "eslint-plugin-sort-exports": "^0.9.1", "homebridge": "^1.8.3", "jest": "^29.7.0", "nodemon": "^3.1.4", "pre-commit": "^1.0.10", "rimraf": "^5.0.7", "semver": "^7.6.2", "ts-jest": "^29.2.5", "typescript": "^5.5.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" }, "engines": { "homebridge": "^1.6.0 || ^2.0.0-beta.0", "node": "^18.20.4 || ^20.15.1 || ^22.0.0" }, "keywords": [ "hikvision", "homebridge-plugin" ], "pre-commit": [ "precommit-msg", "lint" ], "nodemonConfig": { "watch": [ "src" ], "ext": "ts", "ignore": [], "exec": "tsc && homebridge -U ./test/hbConfig -T -Q -P .", "signal": "SIGTERM", "env": { "NODE_OPTIONS": "--trace-warnings" } }, "jest": { "testEnvironment": "node", "coveragePathIgnorePatterns": [ "/node_modules/" ], "preset": "ts-jest", "transform": { "^.+\\.(ts|tsx)?$": "ts-jest", "^.+\\.(js|jsx)$": "babel-jest" } } }