Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
181 lines (181 loc) · 7.82 KB
/
Copy pathpackage.json
File metadata and controls
181 lines (181 loc) · 7.82 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
175
176
177
178
179
180
181
{
"name": "accellens",
"version": "0.1.3-alpha",
"description": "Accellens AI Accessibility Compliance Platform",
"private": true,
"workspaces": [
"apps/*",
"libs/*"
],
"scripts": {
"validate:nx-tags": "tsx scripts/validate-nx-tags.ts",
"lint": "node scripts/lint.js",
"format": "nx format:write",
"format:check": "nx format:check",
"test": "nx run-many --target=test --all",
"test:unit": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:smoke": "vitest run --config vitest.smoke.config.ts",
"test:smoke:deployment": "vitest run --config vitest.smoke.config.ts tests/smoke/deployment-verification.test.ts",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:a11y": "playwright test tests/e2e/a11y --project=chromium",
"test:load": "bash scripts/run-k6.sh",
"build": "cross-env NODE_ENV=production nx run-many --target=build --all",
"dev": "nx run-many --target=dev --all --parallel",
"prepare": "husky",
"seed:data": "docker compose -f docker-compose.yml -f docker-compose.dev.yml exec -T -w /workspace services python3 scripts/seed-test-data.py",
"seed:data:clean": "docker compose -f docker-compose.yml -f docker-compose.dev.yml exec -T -w /workspace services python3 scripts/seed-test-data.py --clean",
"seed:data:minimal": "docker compose -f docker-compose.yml -f docker-compose.dev.yml exec -T -w /workspace services python3 scripts/seed-test-data.py --organizations 1 --projects-per-org 1 --runs-per-project 2 --findings-per-run 5 --users-per-org 2",
"seed:data:full": "docker compose -f docker-compose.yml -f docker-compose.dev.yml exec -T -w /workspace services python3 scripts/seed-test-data.py --organizations 10 --projects-per-org 5 --runs-per-project 20 --findings-per-run 50 --users-per-org 10",
"seed:data:with-artifacts": "docker compose -f docker-compose.yml -f docker-compose.dev.yml exec -T -w /workspace services python3 scripts/seed-test-data.py --artifacts",
"seed:data:full:with-artifacts": "docker compose -f docker-compose.yml -f docker-compose.dev.yml exec -T -w /workspace services python3 scripts/seed-test-data.py --organizations 10 --projects-per-org 5 --runs-per-project 20 --findings-per-run 50 --users-per-org 10 --artifacts",
"dev:init": "./scripts/init-dev-env.sh",
"dev:init:seed": "./scripts/init-dev-env.sh --seed",
"dev:init:seed:artifacts": "./scripts/init-dev-env.sh --seed-with-artifacts",
"dev:start": "./scripts/start-dev.sh",
"dev:start:clean": "./scripts/start-dev.sh --clean",
"dev:health": "./scripts/check-services-health.sh",
"dev:validate": "./scripts/validate-docker-compose.sh",
"dev:restart": "./scripts/restart-infrastructure.sh all",
"dev:restart:clean": "./scripts/restart-infrastructure.sh clean",
"dev:restart:gateway": "./scripts/restart-infrastructure.sh gateway",
"dev:restart:frontend": "./scripts/restart-infrastructure.sh frontend",
"dev:restart:services": "./scripts/restart-infrastructure.sh services",
"dev:fix": "./scripts/fix-services.sh",
"dev:fix:services": "./scripts/fix-services.sh services",
"dev:fix:gateway": "./scripts/fix-services.sh gateway",
"dev:fix:frontend": "./scripts/fix-services.sh frontend",
"dev:fix:celery-worker": "./scripts/fix-services.sh celery-worker",
"dev:fix:celery-beat": "./scripts/fix-services.sh celery-beat",
"dev:fix:scanner": "./scripts/fix-services.sh scanner-web",
"dev:fix:ollama": "./scripts/fix-services.sh ollama",
"audit:fix": "npm audit --fix",
"security:check": "node scripts/check-security.js",
"security:check:strict": "node scripts/check-security.js --fail-on-critical",
"update": "npm update && npm install",
"update:check": "npm update && npm install && npm run security:check",
"clean": "./scripts/clean-node-modules.sh",
"versions:get": "node scripts/get-versions.js all",
"versions:validate": "node scripts/validate-versions.js",
"versions:sync": "node scripts/sync-versions.js",
"storybook:coverage": "node scripts/check-storybook-coverage.js",
"storybook:build": "nx run @accellens/frontend:storybook:build",
"analyze": "./scripts/local-code-analysis.sh",
"analyze:typescript": "npm run lint && npx tsc --noEmit",
"analyze:python": "flake8 apps/services --exclude=venv,__pycache__,migrations && cd apps/services && python -m mypy . --explicit-package-bases",
"analyze:security": "npm run security:check && bandit -r apps/services -f json -o /tmp/bandit-report.json || true",
"analyze:semgrep": "semgrep --config=auto . --json -o /tmp/semgrep-report.json || true",
"type-check": "npx tsc --noEmit",
"lint:circular": "madge --circular apps/gateway/src apps/frontend/src apps/scanner-web/src apps/scanner-mobile/src libs/common/src libs/utils/src libs/ai/src"
},
"devDependencies": {
"@eslint/compat": "^2.0.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.39.2",
"@nx/devkit": "^22.1.0",
"@nx/eslint": "^22.1.0",
"@nx/eslint-plugin": "^22.3.3",
"@nx/js": "^22.1.0",
"@nx/next": "^22.3.3",
"@nx/node": "^22.3.3",
"@nx/react": "^22.1.0",
"@nx/workspace": "^22.1.0",
"@playwright/test": "^1.56.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.0.8",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.53.1",
"@typescript-eslint/parser": "^8.53.1",
"@vitest/coverage-v8": "^4.0.17",
"@vitest/ui": "^4.0.13",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-sonarjs": "^4.0.3",
"eslint-plugin-unused-imports": "^4.3.0",
"husky": "^9.1.7",
"jsdom": "^27.3.0",
"lint-staged": "^16.2.7",
"madge": "^8.0.0",
"node-polyfill-webpack-plugin": "^4.1.0",
"nx": "^22.2.3",
"prettier": "^3.7.4",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.1",
"vitest": "^4.0.16"
},
"engines": {
"node": ">=24.13.0 <25.0.0",
"npm": ">=10.0.0"
},
"packageManager": "npm@11.6.2",
"overrides": {
"esbuild": "^0.27.2",
"glob": "^13.0.0",
"js-yaml": "^4.1.1",
"underscore": "1.13.8",
"uglify-js": "3.19.3",
"xmldom": "npm:@xmldom/xmldom@0.9.10",
"cldr": {
"uglify-js": "3.19.3",
"underscore": "1.13.8",
"xmldom": "npm:@xmldom/xmldom@0.9.10"
},
"uglifyast": {
"uglify-js": "3.19.3"
},
"inter": {
"uglify-js": "3.19.3",
"underscore": "1.13.8",
"cldr": {
"uglify-js": "3.19.3",
"underscore": "1.13.8",
"xmldom": "npm:@xmldom/xmldom@0.9.10"
},
"uglifyast": {
"uglify-js": "3.19.3"
}
},
"@humanwhocodes/config-array": "npm:@eslint/config-array@latest",
"@humanwhocodes/object-schema": "npm:@eslint/object-schema@latest",
"rimraf": "^5.0.0",
"node-domexception": "^1.0.0",
"stable": "npm:noop@1.0.0",
"keygrip": "^1.1.0",
"cookies": {
"keygrip": "^1.1.0"
},
"jws": "^4.0.1",
"undici": "^6.23.0",
"elliptic": "^6.6.1",
"make-fetch-happen": "^15.0.3",
"cacache": "^20.0.3",
"next": "^16.1.3",
"next-intl": "^4.9.1",
"protobufjs": "^8.0.1"
},
"optionalDependencies": {
"@esbuild/linux-arm64": "^0.28.0"
},
"dependencies": {
"@storybook/addon-a11y": "^10.1.11",
"@storybook/nextjs": "^10.1.11",
"axe-core": "^4.11.1",
"openid-client": "^6.8.1",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"storybook": "^10.1.11"
}
}