-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 7.08 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 7.08 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
{
"name": "assistsupport",
"private": true,
"license": "MIT",
"version": "1.3.0",
"type": "module",
"scripts": {
"prepare": "husky",
"dev": "vite",
"build": "pnpm ui:typecheck && vite build",
"preview": "vite preview",
"tauri": "tauri",
"commit": "cz",
"commitlint": "commitlint",
"git:branch:create": "bash scripts/git/create-branch.sh",
"git:guard:branch": "bash scripts/git/guard-branch.sh",
"git:guard:no-main-push": "bash scripts/git/guard-no-main-push.sh",
"git:guard:atomic": "bash scripts/git/guard-atomic.sh",
"git:guard:generated": "bash scripts/git/guard-generated.sh",
"git:guard:large-files": "bash scripts/git/guard-large-files.sh",
"git:guard:secrets": "bash scripts/git/guard-secrets.sh",
"git:guard:all": "pnpm git:guard:branch && pnpm git:guard:atomic && pnpm git:guard:generated && pnpm git:guard:large-files && pnpm git:guard:secrets",
"git:commit:propose": "node scripts/git/propose-commit-message.mjs",
"git:session:save": "bash scripts/git/session-save.sh",
"git:session:resume": "bash scripts/git/session-resume.sh",
"pr:notes": "bash scripts/git/generate-pr-notes.sh",
"check:workstation-preflight": "node scripts/ci/check-workstation-preflight.mjs",
"check:workflow-drift": "node scripts/ci/check-workflow-command-drift.mjs",
"check:dependency-watch-contract": "node scripts/ci/check-dependency-watch-contract.mjs",
"check:version-parity": "node scripts/ci/check-version-parity.mjs",
"check:monorepo-readiness": "pnpm health:repo",
"test": "vitest run",
"test:coverage": "vitest run --coverage --coverage.reporter=lcov --coverage.reporter=text-summary --coverage.reportsDirectory=coverage/frontend",
"search-api:test": "bash scripts/search-api/run-python.sh -m pytest -q",
"search-api:smoke": "bash scripts/search-api/run-python.sh smoke_search_api.py",
"search-api:openapi:generate": "bash scripts/search-api/run-python.sh generate_openapi.py > openapi/openapi.generated.json",
"search-api:openapi:check": "bash scripts/search-api/run-python.sh generate_openapi.py > /tmp/assistsupport-search-openapi.json && diff -u openapi/openapi.generated.json /tmp/assistsupport-search-openapi.json",
"test:e2e:smoke": "bash scripts/ui/run-playwright-tag.sh @smoke",
"test:security-regression": "bash scripts/security/run-security-regression.sh",
"test:security:audit:rust": "bash scripts/security/run-cargo-audit.sh",
"test:security:audit:python": "bash scripts/security/run-python-audit.sh",
"test:ci": "if [ \"$(uname -s)\" != \"Linux\" ] || pkg-config --exists glib-2.0 gobject-2.0; then cd src-tauri && cargo test; else echo \"Skipping Tauri cargo test: Linux GTK pkg-config dependencies are unavailable in this job.\"; fi",
"lint": "pnpm lint:eslint",
"lint:eslint": "eslint .",
"stylelint": "stylelint \"src/**/*.css\"",
"typecheck": "tsc --noEmit",
"version:sync": "node scripts/ci/check-version-parity.mjs --write",
"build:ui": "vite build",
"perf:bundle": "node scripts/perf/vite-bundle-report.mjs",
"perf:build": "node scripts/perf/measure-build-time.mjs",
"perf:lighthouse": "node scripts/perf/run-lighthouse-budget.mjs",
"perf:lighthouse:prod": "node scripts/perf/run-lighthouse-budget.mjs --config=.lighthouserc.production.json",
"perf:lhci": "pnpm perf:lighthouse",
"perf:lhci:prod": "pnpm perf:lighthouse:prod",
"perf:api": "bash scripts/perf/run-k6.sh tests/perf/api.k6.js --summary-export=.perf-results/api-summary.json",
"perf:db": "bash scripts/perf/db/check-pg-stat.sh",
"perf:db:enforce": "bash scripts/perf/db/enforce-pg-stat.sh",
"perf:assets": "bash scripts/perf/check-assets.sh",
"perf:memory": "node --expose-gc scripts/perf/memory-smoke.mjs",
"perf:workspace:logic": "vitest run src/features/workspace/workspacePerformance.test.ts",
"perf:workspace:ui": "playwright test tests/ui/workspace-performance.spec.ts",
"perf:workspace": "pnpm perf:workspace:logic && pnpm perf:workspace:ui",
"perf:summary": "node scripts/perf/summarize.mjs",
"ui:lint": "pnpm lint",
"ui:typecheck": "tsc --noEmit",
"ui:gate:static": "pnpm ui:lint && pnpm ui:typecheck && pnpm stylelint",
"ui:test:visual": "bash scripts/ui/run-playwright-tag.sh @visual",
"ui:test:a11y": "bash scripts/ui/run-playwright-tag.sh @a11y",
"ui:test:responsive": "bash scripts/ui/run-playwright-tag.sh @responsive",
"ui:gate:regression": "pnpm test:e2e:smoke && pnpm ui:test:visual && pnpm ui:test:a11y && pnpm ui:test:responsive",
"ui:gate": "pnpm ui:gate:static && pnpm ui:gate:regression",
"ui:test:visual:update": "bash scripts/ui/run-playwright-tag.sh @visual --update-snapshots",
"health:repo:checks": "pnpm git:guard:branch && pnpm check:workstation-preflight && pnpm check:workflow-drift && pnpm check:dependency-watch-contract && pnpm check:version-parity",
"health:repo:static": "pnpm ui:gate:static",
"health:repo:frontend": "pnpm test",
"health:repo:search": "pnpm search-api:test",
"health:repo:backend": "pnpm test:ci && pnpm test:security-regression",
"health:repo:ui": "pnpm ui:gate:regression",
"health:repo": "pnpm health:repo:checks && pnpm health:repo:static && pnpm health:repo:frontend && pnpm health:repo:search && pnpm health:repo:backend && pnpm health:repo:ui",
"health:release": "node scripts/ci/run-release-health.mjs",
"lint-staged": "lint-staged"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,mjs,cjs}": [
"prettier --write"
],
"tests/ui/**/*.{js,jsx,ts,tsx,mjs,cjs}": [
"prettier --write"
],
"*.{json,md,css,scss,yml,yaml}": [
"prettier --write"
]
},
"dependencies": {
"@fontsource-variable/ibm-plex-sans": "^5.2.8",
"@fontsource-variable/jetbrains-mono": "^5.2.8",
"@tauri-apps/api": "^2.11.0",
"@tauri-apps/plugin-dialog": "^2.7.1",
"@tauri-apps/plugin-opener": "^2.5.4",
"react": "^19.2.6",
"react-dom": "^19.2.6"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.3",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@commitlint/cz-commitlint": "^21.2.0",
"@eslint/js": "^9.39.4",
"@playwright/test": "^1.59.1",
"@tauri-apps/cli": "^2.11.4",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.59.2",
"@typescript-eslint/parser": "^8.63.0",
"@vitejs/plugin-react": "^5.2.0",
"@vitest/coverage-v8": "^4.1.8",
"commitizen": "^4.3.1",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.5.0",
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"lighthouse": "^13.3.0",
"lint-staged": "^15.5.2",
"prettier": "^3.8.3",
"prettier-plugin-tailwindcss": "^0.8.0",
"stylelint": "^16.26.1",
"stylelint-config-standard": "^39.0.1",
"typescript": "~6.0.3",
"typescript-eslint": "^8.63.0",
"vite": "^7.3.5",
"vitest": "^4.1.8",
"web-vitals": "^5.3.0"
}
}