Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 3.39 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 3.39 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
{
"name": "festschmiede",
"version": "0.0.0",
"private": true,
"description": "FestSchmiede-Plattform – QA & CI",
"engines": {
"node": "^22.12.0 || ^24.0.0 || >=26.0.0"
},
"scripts": {
"qa:lint": "node ./scripts/qa/load-typescript-6-for-eslint.mjs backend/src frontend/src tests scripts/qa --max-warnings 0",
"qa:typecheck": "node -e \"require('node:fs').rmSync('backend/dist',{recursive:true,force:true})\" && npm run prisma:generate --prefix backend && npm run build --prefix backend && node ./scripts/qa/assert-backend-build-artifacts.mjs && npm run build --prefix frontend",
"qa:format": "node --print \"'Format-Check: TypeScript-Compiler als Gate'\"",
"qa:depcheck": "npx depcheck backend --ignores pg,@types/pg,supertest,@types/supertest && npx depcheck frontend",
"qa:unit": "npm run test:coverage --prefix backend && npm run test --prefix frontend",
"qa:api": "npm run prisma:generate --prefix backend && vitest run --config tests/vitest.config.ts",
"qa:seed": "NODE_PATH=backend/node_modules npx tsx tests/seeds/qa-seed.ts",
"qa:seed:demo": "NODE_PATH=backend/node_modules QA_DEMO_MODE=1 QA_ORDER_COUNT=50 npx tsx tests/seeds/qa-seed.ts",
"qa:seed:nightly": "NODE_PATH=backend/node_modules QA_ORDER_COUNT=1000 npx tsx tests/seeds/qa-seed.ts",
"qa:module-scenarios": "npx tsx scripts/qa/run-module-scenarios.ts",
"qa:module-tests": "npx tsx scripts/qa/run-module-tests.ts",
"qa:security": "npx tsx scripts/qa/security-audit.ts && vitest run --config tests/vitest.config.ts tests/security",
"qa:linkcheck": "npx tsx scripts/qa/linkcheck.ts",
"qa:performance": "npx tsx scripts/qa/performance-baseline.ts",
"qa:load": "k6 run scripts/qa/load-test.k6.js",
"qa:report": "npx tsx scripts/qa/generate-report.ts",
"screenshots": "npx tsx scripts/capture-screenshots.ts",
"seo:sitemap": "npx tsx scripts/seo/generate-sitemap.ts",
"qa:prepare-journey": "NODE_PATH=backend/node_modules npx tsx scripts/qa/prepare-user-journey.ts",
"qa:e2e": "playwright test --config tests/e2e/playwright.config.ts --grep-invert Nutzerreise",
"qa:e2e:journey": "playwright test --config tests/e2e/playwright.config.ts tests/e2e/specs/user-journey.spec.ts",
"qa:e2e:demo": "QA_DEMO_MODE=1 npm run qa:seed:demo && npm run qa:e2e",
"qa:docker:up": "docker compose -f docker-compose.ci.yml up -d --build",
"qa:docker:down": "docker compose -f docker-compose.ci.yml down -v",
"qa:docker:logs": "docker compose -f docker-compose.ci.yml logs",
"qa:wait": "bash scripts/qa/wait-for-services.sh",
"qa:installer": "bash installer/tests/run-tests.sh && bash installer/tests/bootstrap.test.sh && bash installer/tests/operations.test.sh && bash installer/tests/restore-dry-run.test.sh",
"qa:tenant-guard": "npx tsx scripts/qa/tenant-prisma-guard.ts && npx vitest run scripts/qa/tenant-prisma-guard.test.ts",
"qa:migrations": "bash scripts/qa/test-migrations.sh"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.63.0",
"@types/node": "^26.5.0",
"@types/supertest": "^7.2.1",
"@vitest/coverage-v8": "^5.0.0",
"depcheck": "^1.4.7",
"dotenv": "^17.4.2",
"eslint": "^10.10.0",
"playwright": "^1.63.0",
"supertest": "^7.1.1",
"tsx": "^4.19.4",
"typescript": "^7.0.2",
"typescript-6": "npm:typescript@^6.0.3",
"typescript-eslint": "^8.34.0",
"vite": "^8.3.0",
"vitest": "^5.0.0"
}
}