forked from JohanBendz/com.tuya.zigbee
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 10.4 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 10.4 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "com.dlnraja.tuya.zigbee",
"version": "9.0.434",
"description": "Tuya Unified Zigbee - Local-first control with AI automation",
"main": "app.js",
"scripts": {
"build": "homey app build",
"prebuild": "node scripts/maintenance/kill-stray-nulls.cjs --force",
"postbuild": "node scripts/maintenance/fix-large-images.js && node scripts/maintenance/optimize-build-images.cjs && node scripts/maintenance/sanitize-manifest.cjs",
"optimize:build-images": "node scripts/maintenance/optimize-build-images.cjs",
"prepare-publish": "node scripts/prepare-publish.js",
"auto-publish": "node scripts/auto-publish.js",
"check-build": "node scripts/check-build.js",
"check-mfr": "node .github/scripts/temp/check-mfr.js",
"list-builds": "node scripts/list-builds.js",
"fix-empty-mfr": "node scripts/fix-empty-mfr.js",
"diag-build": "node .github/scripts/athom-build-error-diag.js",
"find-size": "node scripts/find-size.js",
"fix:generated-flow-args": "node scripts/maintenance/sanitize-manifest.cjs app.json .homeybuild/app.json",
"validate": "homey app validate",
"validate:debug": "homey app validate --level debug",
"validate:publish": "homey app validate --level publish",
"publish": "homey app publish",
"rename": "node scripts/fixes/RENAME_ALL_DUPLICATE_NAMES.js",
"security-scan": "node scripts/ci/security-scanner.js",
"security:history": "node scripts/ci/history-secret-scanner.js",
"security:diagnostics": "node .github/scripts/privacy-redactor.js .github/state/diagnostics-report.json .github/state/diagnostics-crossref.yml .github/state/gmail-token-health.json .github/state/homey-device-report.json .github/state/dashboard-monitor-report.json .github/state/version-intelligence-report.json screenshots/full-diag-report.json diagnostics",
"diag:gmail": "node .github/scripts/fetch-gmail-diagnostics.js",
"diag:gmail:history": "node .github/scripts/fetch-gmail-diagnostics.js --all-history --max-results 1000 --max-total-results 10000 --chunk-days 365 --reprocess",
"diag:gmail:history:full": "node .github/scripts/fetch-gmail-diagnostics.js --all-history --max-results 20000 --max-total-results 20000 --reprocess",
"check:diag-history": "node scripts/ci/diagnostic-history-gate.js --json",
"security:full": "node scripts/ci/security-scanner.js && node scripts/ci/signature-audit.js",
"test": "mocha test/**/*.test.js --timeout 5000",
"test:watch": "mocha test/**/*.test.js --watch",
"test:coverage": "nyc mocha test/**/*.test.js",
"lint": "eslint lib/ drivers/ --ext .js",
"lint:fix": "eslint lib/ drivers/ --ext .js --fix",
"build-docs": "node .github/scripts/generate-device-finder.js",
"test:old": "node scripts/validation/validate-driver-schemas.js",
"matrix": "node scripts/automation/generate-device-matrix.js",
"coverage": "node scripts/automation/generate-coverage-stats.js",
"versions:report": "node scripts/automation/dashboard-monitor.js --latest && node scripts/automation/version-intelligence-report.js",
"reports": "node scripts/automation/generate-all-reports.ps1",
"ai:research": "node scripts/ai/web-research.js",
"ai:analyze": "node scripts/ai/heuristic-analyzer.js",
"ai:generate": "node scripts/ai/driver-generator.js",
"update": "node scripts/automation/update-all-links.js",
"readme:update": "node scripts/automation/update-readme-proactive.js",
"prepush": "node scripts/master-automation.js && node scripts/automation/pre-push-dual-layer-gate.js",
"finalize": "powershell -ExecutionPolicy Bypass -File scripts/automation/finalize-all.ps1",
"check:health": "node scripts/validation/check-driver-health.js",
"check:wifi": "node scripts/validation/check-wifi-lifecycle.js",
"check:mixin": "node scripts/validation/check-mixin-order.js",
"check:all": "npm run check && npm run check:athom && npm run check:voice",
"titan": "node scripts/ci/titan-pre-commit.js",
"titan:json": "node scripts/ci/titan-pre-commit.js --json",
"titan:fix": "node scripts/ci/pre-commit-checks.js --fix",
"sync:branches": "node scripts/automation/sync-branches.js",
"sync:branches:dry": "node scripts/automation/sync-branches.js --dry-run",
"precommit": "node scripts/ci/titan-pre-commit.js && node scripts/ci/security-scanner.js && node scripts/validation/check-mixin-order.js && npm run check:homey-guidelines && npm run check:fingerprint-catalog && npm run check:button-flows && npm run check:timer-context && npm run check:voice",
"precommit:full": "node scripts/ci/titan-pre-commit.js && node scripts/PRE_COMMIT_CHECKS.js && node scripts/ci/security-scanner.js && npm run check:yaml && node scripts/ci/check-flow-ids.js --json && npm run check:homey-guidelines && npm run check:fingerprint-catalog && npm run check:button-flows && npm run check:voice && npm run check:diag-history",
"pipeline": "node scripts/ULTIMATE_CI_CD_PIPELINE.js",
"audit": "node scripts/COMPLETE_POWER_AUDIT.js",
"clean": "node scripts/CLEAN_APP_JSON.js",
"sync": "node scripts/AUTO_UPDATE_APP_JSON.js",
"images": "node scripts/RESIZE_IMAGES_PRESERVE_CONTENT.js",
"images:contextual": "node scripts/REGENERATE_ALL_CONTEXTUAL_IMAGES.js",
"images:generate": "node scripts/images/intelligent-image-generator.js",
"images:regenerate": "node scripts/images/batch-regenerate-all.js",
"images:verify": "node scripts/images/verify-all-images.js",
"fix-nomenclature": "node scripts/FIX_DRIVER_NOMENCLATURE.js",
"build:drivers-db": "node scripts/build_driver_database.js",
"extract:z2m": "node scripts/sync/extract-z2m.js",
"extract:blakadder": "node scripts/automation/fetch-z2m-fingerprints.js",
"extract:all": "npm run extract:z2m && npm run extract:blakadder",
"consolidate": "node scripts/automation/generate-mapping-db.js",
"intelligence:full": "npm run extract:all && npm run consolidate",
"audit:urls": "node .github/scripts/challenge-all-urls.js",
"enrich:urls": "node .github/scripts/ai-enrichment-engine.js",
"maintenance": "node scripts/automation/intelligent-maintenance.js",
"maintenance:full": "node scripts/automation/intelligent-maintenance.js --full",
"maintenance:dry-run": "node scripts/automation/intelligent-maintenance.js --dry-run",
"validate:recursive": "node scripts/validation/comprehensive-recursive-validator.js",
"fix:auto": "node scripts/validation/auto-fix-common-issues.js",
"validate:fix": "npm run validate:recursive && npm run fix:auto && npm run validate:recursive",
"validate:conflicts": "node scripts/validation/check_git_conflicts.js",
"validate:fingerprints": "node scripts/validation/verify_fingerprints_integrity.js",
"validate:mfr-empty": "node scripts/validation/check-fingerprint-health.js",
"validate:console-log": "node scripts/ci/zero-defect-control.js",
"validate:flows": "node scripts/validation/verify_flows_integrity.js",
"tool:inject-fp": "node scripts/tools/inject_fingerprint.js",
"generate-driver": "node .github/scripts/generate-driver.js",
"validate:dual-layer": "node scripts/validation/app-json-dual-layer-validator.js",
"validate:dual-layer:fix": "node scripts/validation/app-json-dual-layer-validator.js --fix",
"validate:dual-layer:strict": "node scripts/validation/app-json-dual-layer-validator.js --strict --verbose",
"master": "node scripts/master-automation.js",
"master:fix": "node scripts/master-automation.js --fix",
"master:full": "node scripts/master-automation.js --fix --commit --push --verbose",
"master:dry": "node scripts/master-automation.js --fix --dry-run --verbose",
"check": "node scripts/validate/homey-mandatory-check.js",
"check:fix": "node scripts/validate/homey-mandatory-check.js --fix",
"check:json": "node scripts/validate/homey-mandatory-check.js --json",
"check:athom": "node scripts/validate/validate-app-json.js",
"check:precommit": "node .githooks/pre-commit",
"check:yaml": "node scripts/ci/validate-all-yaml.js --json && node scripts/ci/validate-github-actions-policy.js",
"check:actions": "node scripts/ci/validate-github-actions-policy.js",
"check:flows": "node scripts/ci/check-flow-ids.js --json",
"check:homey-guidelines": "node scripts/ci/homey-online-guidelines-audit.js",
"check:fingerprint-catalog": "node scripts/ci/fingerprint-catalog-audit.js",
"check:button-flows": "node scripts/ci/check-button-flow-routing.js --json",
"check:bloat": "node scripts/ci/find-bloat.js --json",
"diag:build": "node .github/scripts/athom-build-error-diag.js",
"diag:compact": "node .github/scripts/ultra-compact-app-json.js",
"hooks:install": "git config core.hooksPath .githooks && echo Hooks installed: pre-commit + pre-push",
"hooks:uninstall": "git config --unset core.hooksPath && echo Hooks disabled",
"prepublish:validate": "npm run check:all",
"prepare": "node -e \"try{require('child_process').execFileSync('git',['config','core.hooksPath','.githooks'],{stdio:'ignore'})}catch(e){}\"",
"skills:validate": "node scripts/automation/mega-audit.js",
"skills:audit": "node scripts/PRE_COMMIT_CHECKS.js",
"skills:security": "node scripts/ci/security-scanner.js",
"skills:prepush": "npm run precommit:full && npm test && npm run build-docs",
"check:timer-context": "node scripts/validation/check-homey-timer-context.js",
"check:voice": "node scripts/validation/check-google-assistant-voice-safety.js"
},
"keywords": [
"homey",
"zigbee",
"tuya",
"local-first",
"automation",
"ai-powered",
"dp-engine",
"smart-home"
],
"author": "Dylan L.N. Raja",
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"homey": ">=12.2.0"
},
"dependencies": {
"color-space": "1.15.0",
"homey-zigbeedriver": "2.2.17",
"qrcode": "^1.5.4",
"tuyapi": "^7.7.1",
"zigbee-clusters": "^2.6.0"
},
"overrides": {
"color-space": "1.15.0",
"punycode": "^2.3.1"
},
"devDependencies": {
"@octokit/rest": "^22.0.1",
"axios": "^1.12.2",
"canvas": "^3.2.0",
"chai": "^4.3.10",
"cheerio": "^1.1.2",
"eslint": "^8.57.0",
"fast-glob": "^3.3.3",
"fs-extra": "^11.3.2",
"glob": "^13.0.6",
"homey": "^4.4.1",
"homey-lib": "^2.51.4",
"imap-simple": "^5.1.0",
"imapflow": "^1.0.171",
"js-yaml": "^4.1.1",
"mailparser": "^3.9.11",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"pngjs": "^7.0.0",
"puppeteer": "^24.24.0",
"sharp": "^0.34.4"
}
}