-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 4.05 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 4.05 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
{
"name": "sebt-portal",
"version": "1.0.0",
"private": true,
"description": "Summer EBT (SUN Bucks) Self-Service Portal - Root package for convenience scripts",
"scripts": {
"predev": "./scripts/dev/gen-redis-certs.sh",
"dev": "pnpm dev:kill-port && concurrently -n \"API,Web\" -c \"blue,green\" \"pnpm api:dev\" \"pnpm web:dev\"",
"dev:co": "export STATE=co && export ENROLLMENT_CHECKER_ORIGIN=http://localhost:3001 && pnpm api:build-co && pnpm dev",
"dev:co-enroll": "export STATE=co && pnpm api:build-co && pnpm dev:kill-port && concurrently -n \"API,EnrollChecker\" -c \"blue,green\" \"pnpm api:dev\" \"pnpm --filter @sebt/enrollment-checker dev\"",
"dev:dc": "export STATE=dc && pnpm api:build-dc && pnpm dev",
"dev:kill-port": "lsof -ti :5280 | xargs kill 2>/dev/null; sleep 2 || true",
"web:dev": "pnpm --filter @sebt/web dev",
"api:dev": "ASPNETCORE_ENVIRONMENT=Development dotnet watch run --project apps/portal/src/SEBT.Portal.Api --launch-profile http",
"api:build": "dotnet build",
"api:test": "dotnet test",
"api:test:unit": "dotnet test --filter \"Category!=SqlServer&Category!=Socure&Category!=Integration\"",
"api:restore": "dotnet restore",
"api:format:staged": "./scripts/dev/format-staged.sh",
"claude:api:build": "dotnet build --nodeReuse:false -maxcpucount:1 --configuration Debug",
"claude:api:test": "dotnet test --nodeReuse:false -maxcpucount:1 --configuration Debug",
"claude:api:test:unit": "dotnet test --nodeReuse:false -maxcpucount:1 --filter \"Category!=SqlServer&Category!=Socure&Category!=Integration\"",
"api:build-co": "./scripts/dev/build-co.sh",
"api:build-dc": "./scripts/dev/build-dc.sh",
"ci:build": "./scripts/ci/build-backend.sh && ./scripts/ci/build-frontend.sh && pnpm ci:build:enrollment-checker",
"ci:build:frontend": "./scripts/ci/build-frontend.sh",
"ci:build:backend": "./scripts/ci/build-backend.sh",
"ci:build:enrollment-checker": "pnpm --filter @sebt/enrollment-checker lint && pnpm --filter @sebt/enrollment-checker typecheck && STATE=co NEXT_PUBLIC_STATE=co NEXT_PUBLIC_PORTAL_URL=https://portal.ci-validation.example.gov NEXT_PUBLIC_APPLICATION_URL=https://apply.ci-validation.example.gov pnpm --filter @sebt/enrollment-checker build",
"ci:test": "./scripts/ci/test-backend.sh && ./scripts/ci/test-frontend.sh && pnpm ci:test:enrollment-checker",
"ci:test:e2e": "cd apps/portal/src/SEBT.Portal.Web && pnpm exec playwright test --project=chromium",
"ci:test:e2e:integration": "cd apps/portal/src/SEBT.Portal.Web && pnpm exec playwright test --project=chromium-integration-dc",
"ci:test:e2e:integration:co": "cd apps/portal/src/SEBT.Portal.Web && pnpm exec playwright test --project=chromium-integration-co",
"ci:test:e2e:checker": "cd apps/portal/src/SEBT.EnrollmentChecker.Web && pnpm exec playwright test --project=chromium",
"ci:test:e2e:all": "cd apps/portal/src/SEBT.Portal.Web && pnpm test:e2e",
"ci:test:a11y": "cd apps/portal/src/SEBT.Portal.Web && pnpm test:a11y",
"ci:test:frontend": "./scripts/ci/test-frontend.sh",
"ci:test:backend": "./scripts/ci/test-backend.sh",
"ci:test:enrollment-checker": "pnpm --filter @sebt/enrollment-checker test run",
"ci:list": "./act-test.sh list",
"ci:test:states": "./act-test.sh job build-and-test -W .github/workflows/state-ci.yaml",
"ci:test:state:dc": "act workflow_dispatch -W .github/workflows/state-ci.yaml --input state=dc",
"ci:test:state:co": "act workflow_dispatch -W .github/workflows/state-ci.yaml --input state=co",
"ci:test:pr": "./act-test.sh pr",
"ci:validate": "./act-test.sh dry-run",
"release-notes:generate": "tsx scripts/release-notes/generate.ts",
"check:cooldown-exclusions": "tsx scripts/security/check-cooldown-exclusions.ts",
"test:scripts": "tsx --test scripts/**/*.test.ts",
"prepare": "husky"
},
"devDependencies": {
"concurrently": "^9.2.1",
"husky": "^9.1.7",
"knip": "^6.32.3",
"lint-staged": "^17.3.0",
"tsx": "^4.23.12",
"yaml": "~2.9.0"
},
"engines": {
"node": ">=24.0.0",
"pnpm": ">=10.0.0"
}
}