-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
183 lines (183 loc) · 7.03 KB
/
Copy pathpackage.json
File metadata and controls
183 lines (183 loc) · 7.03 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
182
183
{
"name": "shadowcheck-web",
"version": "1.0.0",
"type": "commonjs",
"description": "ShadowCheck SIGINT Forensics Platform - Static Frontend & Server",
"main": "dist/server/server/server.js",
"scripts": {
"start": "node dist/server/server/server.js",
"dev": "npm run build:server && nodemon dist/server/server/server.js",
"dev:frontend": "vite --config client/vite.config.ts",
"prebuild": "node scripts/write-robots.js && node scripts/generate-sitemap.js",
"build": "npm run build:frontend && npm run build:server",
"build:frontend": "NODE_ENV=production vite build --config client/vite.config.ts --outDir ../dist",
"build:server": "tsc --project tsconfig.server.json",
"build:public": "ALLOW_INDEXING=true npm run build",
"build:prod": "NODE_ENV=production ALLOW_INDEXING=true npm run build",
"preview": "vite preview --config client/vite.config.ts",
"serve:dist": "node server/static-server.js",
"debug": "node --inspect server/server.js",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"coverage:refresh": "jest --coverage --coverageThreshold='{}' && node scripts/generate-coverage-report.js && prettier --write docs/metrics/coverage_report.md",
"test:certification": "jest tests/certification/radioPhysicalCertification.test.ts",
"test:integration": "RUN_INTEGRATION_TESTS=true npm test",
"test:bedrock": "curl -s http://localhost:3001/api/claude/test | jq . && echo '---' && curl -s -X POST http://localhost:3001/api/claude/analyze-networks -H 'Content-Type: application/json' -d '{\"networks\":[{\"bssid\":\"AA:BB:CC:DD:EE:FF\",\"ssid\":\"TestNet\",\"type\":\"W\",\"threat_score\":75,\"observation_count\":42,\"unique_days\":7,\"seen_at_home\":true,\"seen_away\":true}],\"question\":\"Is this network a surveillance threat?\"}' | jq .",
"lint": "eslint .",
"policy:secrets": "npm run policy:secret-disk && npm run policy:secret-scan",
"policy:modularity": "bash scripts/check-doc-line-counts.sh && node scripts/check-modularity.js",
"audit:cruft": "tsx scripts/audit/cruft-audit.ts",
"audit:modularity": "tsx scripts/audit/modularity-audit.ts",
"audit:modularity:light": "tsx scripts/audit/modularity-audit.ts --stdout --top 25",
"audit:architecture": "tsx scripts/audit/full-architecture-audit.ts",
"audit:roadmap": "tsx scripts/audit/refactor-roadmap.ts",
"db:audit:report": "node scripts/db-audit/generate-audit-report.js",
"lint:fix": "eslint . --fix",
"lint:boundaries": "tsx scripts/check-client-imports.ts",
"type-check": "npm run type-check:server && npm run type-check:client && npm run type-check:test",
"type-check:client": "tsc -p client/tsconfig.json --noEmit",
"type-check:server": "tsc --noEmit",
"type-check:test": "tsc -p tsconfig.test.json --noEmit",
"format": "prettier --write \"**/*.{js,json,md,yml}\"",
"format:check": "prettier --check \"**/*.{js,json,md,yml}\"",
"docker:build": "docker build -t shadowcheck-web:latest .",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:logs": "docker-compose logs -f api",
"db:migrate": "bash sql/run-migrations.sh",
"prepare": "husky",
"policy:secret-disk": "bash scripts/security/check-no-secret-disk-writes.sh",
"policy:secret-scan": "bash scripts/security/scan-secrets.sh --repo",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"metrics": "echo '# LOC Metrics\\n_Generated: '$(date)' | SHA: '$(git rev-parse --short HEAD)'_\\n' > docs/metrics/lines-of-code.md && cloc . --exclude-dir=node_modules,dist,.git,.claude,coverage --include-lang=TypeScript,JavaScript,SQL,CSS --md >> docs/metrics/lines-of-code.md"
},
"keywords": [
"sigint",
"forensics",
"wireless",
"network"
],
"author": "ShadowCheck",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "3.1068.0",
"@aws-sdk/client-ec2": "3.1058.0",
"@aws-sdk/client-s3": "3.1068.0",
"@aws-sdk/client-secrets-manager": "3.1048.0",
"@aws-sdk/client-sts": "3.1068.0",
"@aws-sdk/s3-request-presigner": "3.1070.0",
"@deck.gl/core": "9.3.1",
"@deck.gl/layers": "9.3.2",
"@deck.gl/react": "9.3.2",
"@deck.gl/widgets": "9.3.2",
"@tanstack/react-virtual": "3.13.24",
"@xterm/addon-fit": "0.11.0",
"@xterm/xterm": "6.0.0",
"axios": "^1.16.1",
"bcrypt": "6.0.0",
"compression": "1.8.1",
"cookie-parser": "1.4.7",
"cors": "2.8.6",
"dotenv": "17.4.2",
"express": "4.22.2",
"express-fileupload": "1.5.2",
"express-rate-limit": "8.5.2",
"helmet": "8.2.0",
"keytar": "7.9.0",
"mapbox-gl": "3.24.1",
"ml-logistic-regression": "2.0.0",
"ml-matrix": "6.12.2",
"multer": "^2.2.0",
"node-cron": "4.2.1",
"node-fetch": "3.3.2",
"node-schedule": "2.1.1",
"pdfkit": "0.19.1",
"pg": "8.21.0",
"preact": "10.29.2",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-is": "19.2.7",
"react-router-dom": "7.15.1",
"react-window": "2.2.7",
"recharts": "3.8.1",
"redis": "6.0.0",
"sharp": "^0.35.1",
"sqlite3": "6.0.1",
"ts-node": "10.9.2",
"winston": "3.19.0",
"ws": "8.21.0",
"zod": "4.4.3",
"zustand": "5.0.14"
},
"devDependencies": {
"@commitlint/cli": "21.0.2",
"@commitlint/config-conventional": "21.0.2",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@jest/globals": "30.4.1",
"@mozilla/readability": "^0.6.0",
"@playwright/test": "^1.61.1",
"@tailwindcss/postcss": "4.3.1",
"@testing-library/react": "16.3.2",
"@types/express": "5.0.6",
"@types/jest": "30.0.0",
"@types/jsdom": "^28.0.3",
"@types/mapbox-gl": "3.5.0",
"@types/node": "25.9.3",
"@types/pg": "8.20.0",
"@types/react": "19.2.15",
"@types/react-dom": "19.2.3",
"@types/supertest": "7.2.0",
"@types/uuid": "11.0.0",
"@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.61.0",
"@typescript-eslint/parser": "8.61.0",
"@vitejs/plugin-react": "6.0.2",
"autoprefixer": "10.5.0",
"better-sqlite3": "^12.10.1",
"cloc": "2.6.0-cloc",
"conventional-changelog-cli": "5.0.0",
"cssnano": "8.0.2",
"eslint": "10.5.0",
"fast-check": "4.8.0",
"husky": "9.1.7",
"jest": "30.4.2",
"jsdom": "^29.1.1",
"lint-staged": "17.0.7",
"lodash": "4.18.1",
"nodemon": "3.1.14",
"postcss": "8.5.15",
"prettier": "3.8.4",
"supertest": "7.2.2",
"tailwindcss": "4.3.1",
"terser": "5.48.0",
"ts-jest": "29.4.11",
"tsx": "4.22.4",
"typescript": "6.0.3",
"vite": "8.0.16"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=11.0.0"
},
"overrides": {
"tar": ">=7.5.16",
"flatted": ">=3.4.0",
"fast-xml-parser": "5.7.2",
"serialize-javascript": ">=7.0.5",
"brace-expansion": ">=1.1.13",
"svgo": "4.0.1",
"@tootallnate/once": "3.0.1",
"js-yaml": "^4.2.0"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml}": [
"prettier --write"
]
}
}