-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
170 lines (170 loc) · 6.27 KB
/
package.json
File metadata and controls
170 lines (170 loc) · 6.27 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
{
"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": "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",
"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",
"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.1029.0",
"@aws-sdk/client-ec2": "3.1029.0",
"@aws-sdk/client-s3": "3.1025.0",
"@aws-sdk/client-secrets-manager": "3.1032.0",
"@aws-sdk/client-sts": "3.1029.0",
"@aws-sdk/s3-request-presigner": "3.1032.0",
"@deck.gl/core": "9.3.1",
"@deck.gl/layers": "9.3.1",
"@deck.gl/react": "9.3.1",
"@deck.gl/widgets": "9.3.1",
"@tanstack/react-virtual": "3.13.24",
"@xterm/addon-fit": "0.11.0",
"@xterm/xterm": "6.0.0",
"axios": "^1.15.1",
"bcrypt": "6.0.0",
"compression": "1.8.1",
"cookie-parser": "1.4.7",
"cors": "2.8.5",
"dotenv": "17.4.2",
"express": "4.22.1",
"express-fileupload": "1.5.2",
"express-rate-limit": "8.3.2",
"helmet": "8.1.0",
"keytar": "7.9.0",
"mapbox-gl": "3.21.0",
"ml-logistic-regression": "2.0.0",
"ml-matrix": "6.12.2",
"multer": "2.1.1",
"node-cron": "4.2.1",
"node-fetch": "3.3.2",
"node-schedule": "2.1.1",
"pdfkit": "0.18.0",
"pg": "8.20.0",
"preact": "10.29.1",
"react": "19.2.5",
"react-dom": "19.2.5",
"react-is": "19.2.5",
"react-router-dom": "7.14.0",
"react-window": "2.2.6",
"recharts": "3.8.1",
"redis": "5.11.0",
"sqlite3": "6.0.1",
"ts-node": "10.9.2",
"winston": "3.19.0",
"ws": "8.20.0",
"zod": "3.24.2",
"zustand": "5.0.12"
},
"devDependencies": {
"@commitlint/cli": "20.5.2",
"@commitlint/config-conventional": "20.5.0",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@jest/globals": "30.3.0",
"@tailwindcss/postcss": "4.2.2",
"@testing-library/react": "16.3.2",
"@types/express": "5.0.6",
"@types/jest": "30.0.0",
"@types/mapbox-gl": "3.5.0",
"@types/node": "25.6.0",
"@types/pg": "8.20.0",
"@types/react": "19.2.14",
"@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.58.2",
"@typescript-eslint/parser": "8.58.2",
"@vitejs/plugin-react": "6.0.1",
"autoprefixer": "10.5.0",
"better-sqlite3": "^12.9.0",
"cloc": "2.6.0-cloc",
"conventional-changelog-cli": "5.0.0",
"cssnano": "7.1.5",
"eslint": "10.2.1",
"fast-check": "4.7.0",
"husky": "9.1.7",
"jest": "30.3.0",
"lint-staged": "16.4.0",
"lodash": "4.18.1",
"nodemon": "3.1.14",
"postcss": "8.5.10",
"prettier": "3.8.3",
"supertest": "7.2.2",
"tailwindcss": "4.2.2",
"terser": "5.46.1",
"ts-jest": "29.4.9",
"tsx": "4.21.0",
"typescript": "6.0.3",
"vite": "8.0.9"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=11.0.0"
},
"overrides": {
"tar": ">=7.5.11",
"flatted": ">=3.4.0",
"fast-xml-parser": "5.5.8",
"serialize-javascript": ">=7.0.5",
"brace-expansion": ">=1.1.13",
"svgo": "4.0.1",
"@tootallnate/once": "3.0.1"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml}": [
"prettier --write"
]
}
}