UNPKG

unifi-client

Version:

NodeJs client for Unifi products (https://www.ui.com/)

110 lines (109 loc) 2.99 kB
{ "name": "unifi-client", "version": "0.11.1", "main": "lib/index.js", "description": "NodeJs client for Unifi products (https://www.ui.com/)", "scripts": { "debug": "tsc && node -r source-map-support/register ./lib/test.js", "start": "node -r source-map-support/register ./lib/test.js", "build": "tsc -p tsconfig.build.json", "test": "jest", "test:CI": "jest --ci", "test:CI:coverage": "jest --ci --coverage", "generate:nockFixtures": "cross-env JEST_RECORD=true NOCK_OFF=true npm run test && git add tests", "generate:data": "ts-node tests/datas/generateDatas.ts", "watch": "jest --env=jsdom --watch", "prepare": "husky install", "lint": "eslint -f unix \"src/**\"", "lint:fix": "npm run lint --fix", "ci:eslint": "npm run lint -- -f json -o ./coverage/eslint-report.json", "ci:generate:documentation": "typedoc", "prepublishOnly": "npm run build", "scan_baddwords": "ts-node .github/scripts/scanForBadWords.ts ./tests/nockFixtures/**/*.json" }, "bugs": { "url": "https://github.com/thib3113/unifi-client/issues" }, "keywords": [ "unifi", "ubiquiti", "unifi-controller", "unifi-websockets", "unifi-events", "Ubiquiti Networks", "ubnt", "network", "UDR", "UDM", "UDM pro", "cloud-key", "websockets" ], "author": { "email": "thib3113@gmail.com", "name": "Thibaut severac" }, "repository": { "type": "git", "url": "https://github.com/thib3113/unifi-client.git" }, "license": "MIT", "engines": { "node": ">= 14" }, "dependencies": { "axios": "1.7.9", "axios-curlirize": "1.3.7", "cookie": "0.7.2", "debug": "4.4.0", "jsonwebtoken": "9.0.2", "semver": "7.7.1", "set-cookie-parser": "2.6.0", "ws": "8.18.0" }, "optionalDependencies": { "bufferutil": "^4.0.8", "utf-8-validate": "^6.0.3" }, "devDependencies": { "@types/cookie": "0.6.0", "@types/debug": "4.1.12", "@types/jest": "29.5.12", "@types/moxios": "0.4.17", "@types/node": "20.9.2", "@types/set-cookie-parser": "2.4.6", "@types/ws": "8.5.14", "@typescript-eslint/eslint-plugin": "7.0.2", "@typescript-eslint/parser": "7.0.2", "cross-env": "7.0.3", "dotenv": "16.4.7", "eslint": "8.57.1", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", "eslint-plugin-tsdoc": "0.2.17", "glob": "10.4.5", "husky": "8.0.3", "jest": "29.7.0", "jest-environment-node": "29.7.0", "jest-sonar": "0.2.16", "moxios": "0.4.0", "nock": "13.3.8", "prettier": "3.4.2", "source-map-support": "0.5.21", "ts-jest": "29.1.2", "ts-node": "10.9.2", "typedoc": "0.27.6", "typescript": "5.4.2", "uuid": "9.0.1" }, "funding": [ { "type": "github", "url": "https://github.com/thib3113/unifi-client" }, { "type": "individual", "url": "https://paypal.me/thib3113" } ] }