-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 4.87 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 4.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@unbrained/homeassistant-cli",
"version": "2026.8.10",
"description": "Agent-optimized CLI tool for interacting with the Home Assistant API",
"repository": {
"type": "git",
"url": "https://github.com/unbraind/homeassistant-cli"
},
"homepage": "https://github.com/unbraind/homeassistant-cli#readme",
"bugs": {
"url": "https://github.com/unbraind/homeassistant-cli/issues"
},
"type": "module",
"main": "dist/index.js",
"bin": {
"homeassistant-cli": "dist/cli.js",
"hassio": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"start": "node dist/cli.js",
"dev": "bun src/cli.ts",
"test": "vitest run",
"test:e2e:live": "tsx tests/e2e-live.ts",
"test:e2e:help": "vitest run tests/help-surface-e2e.test.ts",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"security:audit": "bun audit",
"lint": "eslint .",
"quality:docstrings": "node scripts/quality/docstrings.mjs",
"quality:docstrings:fix": "node scripts/quality/docstrings.mjs --fix",
"quality:duplication": "jscpd src --min-lines 5 --min-tokens 50 --threshold 4.36 --reporters console",
"quality:file-size": "node scripts/quality/file-size.mjs",
"quality:shell": "find scripts -name '*.sh' -print0 | xargs -0 shellcheck",
"quality:pm": "mkdir -p .agents/pm/locks .agents/pm/search && PM_CLI_BIN=./node_modules/.bin/pm && PM_TELEMETRY_DISABLED=1 \"$PM_CLI_BIN\" --version && PM_TELEMETRY_DISABLED=1 \"$PM_CLI_BIN\" install npm:pm-changelog --project && PM_TELEMETRY_DISABLED=1 \"$PM_CLI_BIN\" merge install && PM_TELEMETRY_DISABLED=1 \"$PM_CLI_BIN\" gc --scope runtime --json && PM_TELEMETRY_DISABLED=1 \"$PM_CLI_BIN\" validate --check-files --check-resolution --check-history-drift --strict-exit --json && PM_TELEMETRY_DISABLED=1 \"$PM_CLI_BIN\" health --check-only --strict-exit --json",
"quality:static": "bun run typecheck && bun run lint && bun run quality:docstrings && bun run quality:duplication && bun run quality:file-size && bun run quality:shell",
"review:loop": "node scripts/reviews/pr-review-loop.mjs",
"review:inventory": "bun run review:loop -- inventory",
"review:watch": "bun run review:loop -- watch",
"security:trivy": "trivy fs --scanners vuln,misconfig,secret --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed --skip-dirs node_modules --skip-dirs .git --skip-dirs coverage --skip-dirs dist .",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"lint:fix": "eslint . --fix",
"release:prepare": "bash scripts/release/prepare-release.sh",
"release:verify": "bash scripts/release/verify-release.sh",
"release:dry-run": "bash scripts/release/dry-run.sh",
"release:notes": "bash scripts/release/generate-release-notes.sh",
"release:auto": "node scripts/release/auto-release.mjs",
"release:auto:dry-run": "node scripts/release/auto-release.mjs --dry-run --json",
"version:check": "node scripts/release/version.mjs check",
"version:next": "node scripts/release/version.mjs next",
"changelog:pm:install": "./node_modules/.bin/pm --version && ./node_modules/.bin/pm install npm:pm-changelog --project",
"changelog:pm": "bun run changelog:pm:install && ./node_modules/.bin/pm changelog generate --output CHANGELOG.md --title Changelog --mode replace --all-release-tags --status closed --item-url-base https://github.com/unbraind/homeassistant-cli/blob/master/.agents/pm",
"changelog:pm:check": "bun run changelog:pm:install && ./node_modules/.bin/pm changelog generate --output CHANGELOG.md --title Changelog --mode replace --all-release-tags --status closed --item-url-base https://github.com/unbraind/homeassistant-cli/blob/master/.agents/pm --check",
"commit:audit": "bash scripts/git/audit-commit-messages.sh",
"security:scan:history": "bash scripts/security/scan-history.sh",
"prepack": "tsc"
},
"keywords": [
"home-assistant",
"homeassistant",
"hassio",
"cli",
"smart-home",
"automation",
"llm",
"agent"
],
"author": "",
"license": "MIT",
"dependencies": {
"@toon-format/toon": "^4.1.1",
"commander": "^15.0.0",
"undici": "^8.10.0",
"ws": "^8.21.3",
"yaml": "^2.9.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^22.20.1",
"@types/ws": "^8.18.1",
"@unbrained/pm-cli": "^2026.8.9",
"@vitest/coverage-v8": "^4.1.10",
"eslint": "^10.8.1",
"eslint-plugin-jsdoc": "63.3.3",
"globals": "^17.9.0",
"jscpd": "5.0.14",
"tsx": "^4.23.11",
"typescript": "^5.9.3",
"typescript-eslint": "^8.66.0",
"vitest": "^4.1.10"
},
"overrides": {
"brace-expansion": "5.0.9",
"flatted": "3.4.2",
"nanoid": "3.3.17",
"picomatch": "4.0.5",
"postcss": "8.5.25"
},
"engines": {
"node": ">=22.19.0"
},
"packageManager": "bun@1.2.22",
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}