This repository was archived by the owner on Jul 1, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 7.05 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 7.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
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
{
"name": "simulation",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:safe": "tsc && vite build",
"build:staging": "npm run env:staging && npm run build",
"build:production": "npm run env:production && npm run build",
"preview": "vite preview",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:fast": "vitest run --config vitest.fast.config.ts",
"test:ci": "vitest run --config vitest.fast.config.ts --reporter=basic --passWithNoTests",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:performance": "vitest run --config vitest.performance.config.ts",
"test:visual": "playwright test --config playwright.visual.config.ts",
"test:visualization": "node scripts/test/run-visualization-tests.cjs",
"test:smoke": "node scripts/test/smoke-test.cjs",
"test:smoke:staging": "node scripts/test/smoke-test.cjs staging",
"test:smoke:production": "node scripts/test/smoke-test.cjs production",
"lint": "eslint src/ --ext .ts,.tsx",
"lint:fix": "eslint src/ --ext .ts,.tsx --fix",
"format": "prettier --write src/ test/ e2e/",
"format:check": "prettier --check src/ test/ e2e/",
"type-check": "npm run build",
"type-check:strict": "tsc --noEmit --skipLibCheck",
"security:audit": "npm audit --audit-level=moderate",
"security:scan": "snyk test",
"security:fix": "snyk fix",
"complexity": "eslint src/ --ext .ts,.tsx -f json -o complexity.json",
"complexity:audit": "node scripts/quality/code-complexity-audit.cjs",
"complexity:check": "node scripts/quality/code-complexity-audit.cjs --warn-only && echo 'Code complexity check completed - see warnings above'",
"quality:check": "npm run lint && npm run type-check && npm run format:check",
"quality:check:full": "npm run lint && npm run type-check && npm run format:check && npm run complexity:check",
"quality:fix": "npm run lint:fix && npm run format",
"env:development": "node scripts/env/setup-env.cjs development",
"env:staging": "node scripts/env/setup-env.cjs staging",
"env:production": "node scripts/env/setup-env.cjs production",
"env:check": "node scripts/env/check-environments.cjs",
"env:setup-guide": "node scripts/env/setup-github-environments.js",
"deploy:check": "node scripts/monitoring/check-deployment-status.js",
"staging:test": "node scripts/monitoring/test-staging-deployment.js",
"deploy:staging": "npm run build:staging && node scripts/deploy/deploy.cjs staging",
"deploy:production": "npm run build:production && node scripts/deploy/deploy.cjs production",
"deploy:staging:dry": "npm run build:staging && node scripts/deploy/deploy.cjs staging latest true",
"deploy:production:dry": "npm run build:production && node scripts/deploy/deploy.cjs production latest true",
"deploy:vercel:preview": "vercel --prod=false",
"deploy:vercel:production": "vercel --prod",
"deploy:cloudflare:preview": "wrangler pages deploy dist --project-name=organism-simulation",
"deploy:cloudflare:production": "wrangler pages deploy dist --project-name=organism-simulation --compatibility-date=2024-01-01",
"monitor:staging": "node scripts/monitoring/monitor.js staging",
"monitor:production": "node scripts/monitoring/monitor.js production",
"monitor:all": "node scripts/monitoring/monitor.js",
"monitor:watch": "node scripts/monitoring/monitor.js staging watch",
"docker:build": "docker build -t organism-simulation .",
"docker:build:dev": "docker build -f Dockerfile.dev -t organism-simulation:dev .",
"docker:build:staging": "docker build -t organism-simulation:staging .",
"docker:build:prod": "docker build -t organism-simulation:production .",
"docker:run": "docker run -p 8080:8080 organism-simulation",
"docker:run:dev": "docker run -p 5173:5173 organism-simulation:dev",
"docker:run:background": "docker run -d --name organism-simulation -p 8080:8080 organism-simulation",
"docker:stop": "docker stop organism-simulation && docker rm organism-simulation",
"docker:logs": "docker logs organism-simulation",
"docker:shell": "docker exec -it organism-simulation /bin/sh",
"docker:dev": "docker-compose --profile dev up",
"docker:staging": "docker-compose --profile staging up",
"docker:prod": "docker-compose --profile prod up",
"docker:dev:down": "docker-compose --profile dev down",
"docker:staging:down": "docker-compose --profile staging down",
"docker:prod:down": "docker-compose --profile prod down",
"docker:clean": "docker system prune -f && docker volume prune -f",
"docker:clean:all": "docker system prune -a -f && docker volume prune -f",
"docker:scan": "docker scout quickview organism-simulation || trivy image organism-simulation",
"docker:test": "npm run docker:build && npm run docker:run:background && sleep 10 && curl -f http://localhost:8080/health && npm run docker:stop",
"sonar": "sonar-scanner",
"ci": "npm run quality:check && npm run test:coverage && npm run test:e2e",
"ci:validate": "node scripts/test/validate-pipeline.cjs",
"ci:validate:enhanced": "node scripts/test/validate-enhanced-pipeline.cjs",
"security:check": "node scripts/security/security-check.cjs",
"security:validate": "node scripts/security/validate-security-workflow.cjs",
"security:advanced": "npm run security:audit && npm run security:scan && npm run security:check",
"performance:lighthouse": "lighthouse http://localhost:8080 --output json --output-path lighthouse-report.json",
"quality:gate": "npm run lint && npm run type-check && npm run test:coverage && npm run complexity:check && npm run security:check",
"wrangler:validate": "node scripts/validate-wrangler.js",
"domain:setup": "node scripts/setup-custom-domain.js",
"workflow:validate": "node scripts/validate-workflow.mjs",
"workflow:troubleshoot": "node scripts/troubleshoot-project-workflow.mjs",
"workflow:verify": "node scripts/verify-workflow.mjs",
"cicd:validate": "node scripts/validate-workflows.js",
"cicd:migrate": "powershell scripts/migrate-cicd.ps1",
"cicd:backup": "powershell scripts/migrate-cicd.ps1 backup",
"cicd:status": "powershell scripts/cicd-status.ps1"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@playwright/test": "^1.54.1",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"eslint": "^9.15.0",
"eslint-plugin-complexity": "^1.0.2",
"jsdom": "^26.1.0",
"pixelmatch": "^7.1.0",
"playwright": "^1.45.0",
"prettier": "^3.3.3",
"snyk": "^1.296.0",
"sonarqube-scanner": "^4.2.3",
"vitest": "^3.2.4",
"wrangler": "^4.24.3"
},
"dependencies": {
"chart.js": "^4.5.0",
"chartjs-adapter-date-fns": "^3.0.0",
"date-fns": "^4.1.0",
"rxjs": "^7.8.2",
"typescript": "~5.8.3",
"vite": "^5.4.2",
"vite-plugin-pwa": "^1.0.1"
}
}