-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 3.62 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 3.62 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
{
"name": "opencloudtouch",
"version": "1.0.0",
"private": true,
"description": "OpenCloudTouch - Local control for compatible streaming devices after cloud shutdown",
"type": "module",
"workspaces": [
"apps/frontend"
],
"scripts": {
"dev": "concurrently -n backend,frontend -c blue,magenta \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:backend": "cd apps/backend && ../../.venv/Scripts/python.exe -m uvicorn opencloudtouch.main:app --reload --host 0.0.0.0 --port 7777",
"dev:frontend": "npm run dev --workspace=apps/frontend",
"build": "npm run build --workspace=apps/frontend",
"preview": "npm run preview --workspace=apps/frontend",
"test": "npm run test:all",
"test:backend": "cd apps/backend && ..\\..\\.venv\\Scripts\\python.exe -m pytest tests -v -x --timeout=120 --cov=opencloudtouch --cov-report=term-missing --cov-report=html",
"test:frontend": "npm run test --workspace=apps/frontend",
"test:e2e": "node scripts/e2e-runner.mjs",
"test:all": "npm run test:backend && npm run test:frontend && npm run test:e2e",
"test:unit": "npm run test:backend && npm run test:frontend",
"screenshots": "npm run screenshots --workspace=apps/frontend",
"screenshots:open": "npm run screenshots:open --workspace=apps/frontend",
"test:ux": "npm run screenshots --workspace=apps/frontend",
"test:ux:run": "npm run screenshots:run --workspace=apps/frontend",
"audit:a11y": "npm run audit:a11y --workspace=apps/frontend",
"audit:a11y:run": "npm run audit:a11y:run --workspace=apps/frontend",
"audit:vision": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py",
"audit:vision:limit": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --limit 5",
"audit:vision:dry-run": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --dry-run",
"audit:vision:mini": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --model gpt-4o-mini --resume",
"audit:vision:gpt41": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --model gpt-4.1 --resume",
"audit:vision:gpt41-mini": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --model gpt-4.1-mini --resume",
"audit:vision:llama": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --model llama-vision --resume",
"audit:vision:llama-large": ".venv\\Scripts\\python.exe .local/tools/analyze_ux_screenshots.py --model llama-vision-large --resume",
"generate:openapi": "cd apps/backend && ..\\..\\.venv\\Scripts\\python.exe -c \"from opencloudtouch.main import app; import yaml; f=open('openapi.yaml','w',encoding='utf-8'); f.write(yaml.dump(app.openapi(),sort_keys=False,allow_unicode=True)); f.close(); print('OpenAPI YAML exported')\"",
"generate:types": "npx openapi-typescript apps/backend/openapi.yaml -o apps/frontend/src/api/generated/schema.ts",
"generate:api": "npm run generate:openapi && npm run generate:types",
"lint": "npm run lint --workspace=apps/frontend",
"clean": "npm run clean --workspaces --if-present && rimraf node_modules .venv data-local .out .pytest_cache"
},
"devDependencies": {
"concurrently": "^9.1.2",
"license-checker": "^25.0.1",
"openapi-typescript": "^7.13.0",
"prettier": "^3.8.1",
"rimraf": "^6.0.1"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0",
"python": ">=3.11"
},
"repository": {
"type": "git",
"url": "https://github.com/yourusername/opencloudtouch.git"
},
"keywords": [
"streaming",
"audio",
"home-automation",
"music",
"streaming"
],
"author": "Your Name",
"license": "Apache-2.0"
}