UNPKG

matterbridge-roborock-vacuum-plugin

Version:
122 lines (121 loc) 4.71 kB
{ "name": "matterbridge-roborock-vacuum-plugin", "version": "1.1.7", "description": "Matterbridge Roborock Vacuum Plugin", "author": "https://github.com/RinDevJunior", "license": "MIT", "homepage": "https://github.com/RinDevJunior/matterbridge-roborock-vacuum-plugin", "type": "module", "main": "dist/module.js", "types": "dist/module.d.ts", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/RinDevJunior/matterbridge-roborock-vacuum-plugin.git" }, "bugs": { "url": "https://github.com/RinDevJunior/matterbridge-roborock-vacuum-plugin/issues" }, "funding": { "type": "buymeacoffee", "url": "https://www.buymeacoffee.com/rinnvspktr" }, "keywords": [ "matterbridge", "roborock", "matter", "matter.js", "plugin", "homekit", "apple home" ], "scripts": { "precommit": "npm run lint && npm run type-check && npm run dup-check && npm run format:check && npm run test", "precommit:ci": "node scripts/run-precommit-summary.mjs", "precondition": "npm install -g matterbridge@3.9.4", "build:local": "npm run deepClean && npm install && npm link matterbridge && npm run build && npm run matterbridge:add", "build:local:ci": "node scripts/run-build-local-summary.mjs", "build:production": "tsc --project tsconfig.production.json", "start": "tsc && matterbridge -childbridge", "cli": "node dist/cli.js", "build:package": "cd .. && tar --exclude-from='matterbridge-roborock-vacuum-plugin/.tarignore' -czvf matterbridge-roborock-vacuum-plugin-1.1.7.tgz matterbridge-roborock-vacuum-plugin", "build:compress": "tar --exclude-from='matterbridge-roborock-vacuum-plugin/.tarignore' -czvf matterbridge-roborock-vacuum-plugin-1.1.7.tgz matterbridge-roborock-vacuum-plugin", "dup-check": "npx jscpd", "build": "tsc", "type-check": "tsc --noEmit", "type-check:ci": "tsc --noEmit >type-check.log 2>&1; node scripts/parse-tsc-failures.mjs", "watch": "tsc --watch", "test": "vitest run", "test:file": "vitest run", "test:coverage": "vitest run --coverage", "test:report": "vitest run --reporter=junit --outputFile=test-report.junit.xml", "test:ci": "vitest run --reporter=junit --outputFile=test-report.junit.xml >/dev/null 2>&1; node scripts/parse-junit-failures.mjs", "test:affected": "sh -c 'AFFECTED=$(git diff --name-only HEAD | codegraph affected --stdin --quiet); if [ -n \"$AFFECTED\" ]; then vitest run $AFFECTED; else echo \"No affected tests (run npm run codegraph:init if .codegraph/ is missing)\"; fi'", "codegraph:init": "codegraph init", "codegraph:status": "codegraph status", "lint": "eslint --max-warnings=0 .", "lint:fix": "eslint --fix --max-warnings=0 .", "lint:fix:ci": "node scripts/run-lint-fix-summary.mjs", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"", "format:ci": "node scripts/run-format-summary.mjs", "diff:ci": "node scripts/run-diff-summary.mjs", "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"", "deepClean": "npx rimraf tsconfig.tsbuildinfo npm-shrinkwrap.json ./dist ./node_modules", "checkDependencies": "npx npm-check-updates", "updateDependencies": "npx npm-check-updates -u && npm run build:local", "matterbridge:add": "matterbridge -add .\\", "matterbridge:remove": "matterbridge -remove .\\", "matterbridge:enable": "matterbridge -enable .\\", "matterbridge:disable": "matterbridge -disable .\\", "matterbridge:list": "matterbridge -list", "dev:link": "npm link matterbridge", "dev:unlink": "npm unlink matterbridge" }, "engines": { "matterbridge": "^3.9.4", "node": ">=24 <25" }, "devDependencies": { "@eslint/js": "10.0.1", "@eslint/json": "^1.2.0", "@eslint/markdown": "^8.0.1", "@types/node": "^26.1.0", "@types/node-persist": "3.1.8", "@types/nodemailer": "^7.0.11", "@types/semver": "^7.7.1", "@vitest/coverage-v8": "^4.1.10", "@vitest/eslint-plugin": "^1.6.21", "axios-mock-adapter": "^2.1.0", "eslint": "^10.6.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-n": "^18.2.1", "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-simple-import-sort": "^13.0.0", "jscpd": "^4.0.8", "mock-socket": "^9.3.1", "npm-check-updates": "^20.0.0", "prettier": "^3.9.4", "rimraf": "^6.1.3", "typescript": "6.0.3", "typescript-eslint": "^8.62.1", "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.1.10" }, "dependencies": { "axios": "^1.18.1", "axios-logger": "2.8.1", "axios-retry": "4.5.0", "binary-parser": "2.3.0", "crc-32": "1.2.2", "mqtt": "^5.15.2", "node-persist": "^4.0.4", "nodemailer": "^8.0.4", "protobufjs": "^8.0.0", "semver": "^7.8.5" }, "overrides": { "typescript": "6.0.3" } }