{
  "name": "unifi-protect",
  "type": "module",
  "version": "4.22.0",
  "displayName": "UniFi Protect API",
  "description": "A complete implementation of the UniFi Protect API.",
  "author": {
    "name": "HJD",
    "url": "https://github.com/hjdhjd"
  },
  "homepage": "https://github.com/hjdhjd/unifi-protect#readme",
  "license": "ISC",
  "repository": {
    "type": "git",
    "url": "git://github.com/hjdhjd/unifi-protect.git"
  },
  "bugs": {
    "url": "https://github.com/hjdhjd/unifi-protect/issues"
  },
  "keywords": [
    "camera",
    "doorbell",
    "ubiquiti",
    "unifi",
    "unifi protect",
    "motion",
    "motion sensor",
    "protect",
    "security",
    "uck",
    "uck g2",
    "uck g2+",
    "uck gen2",
    "uck gen2+",
    "udm",
    "udm pro",
    "udm-pro",
    "unifi camera",
    "unifi cloud key",
    "unifi dream machine pro",
    "unifi ffmpeg",
    "unifi nvr",
    "unifi-nvr",
    "unifios",
    "uvc g3 flex",
    "uvc g4 doorbell",
    "uvc g4 pro",
    "rtsp"
  ],
  "engines": {
    "node": ">=20"
  },
  "bin": {
    "ufp": "dist/util/ufp.js"
  },
  "main": "dist/index.js",
  "scripts": {
    "build": "shx rm -rf ./dist && tsc && shx chmod a+x ./dist/util/**.js",
    "build-docs": "shx rm -f ./docs/[^CO]*.md && npx typedoc",
    "clean": "shx rm -rf ./dist",
    "lint": "eslint --max-warnings=${ESLINT_MAX_WARNINGS:-\"-1\"} eslint.config.mjs src/**.ts src/util/**.ts",
    "postpublish": "npm run clean",
    "prepublishOnly": "npm run lint && npm run build",
    "test": "eslint src/**.ts"
  },
  "devDependencies": {
    "@stylistic/eslint-plugin": "4.4.1",
    "@types/node": "24.0.1",
    "@types/ws": "8.18.1",
    "eslint": "9.29.0",
    "homebridge-plugin-utils": "1.21.1",
    "shx": "0.4.0",
    "typedoc": "0.28.5",
    "typedoc-plugin-markdown": "4.6.4",
    "typescript": "5.8.3",
    "typescript-eslint": "8.34.0"
  },
  "dependencies": {
    "@adobe/fetch": "4.2.2",
    "ws": "8.18.2"
  },
  "optionalDependencies": {
    "bufferutil": "4.0.9"
  }
}
