Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
253 lines (253 loc) · 16.3 KB
/
Copy pathpackage.json
File metadata and controls
253 lines (253 loc) · 16.3 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"name": "pharos-watch",
"version": "0.1.0",
"private": true,
"imports": {
"#pharos-full-catalog": "./shared/lib/stablecoins/full-catalog.ts"
},
"license": "MIT",
"workspaces": [
"worker",
"shared/contracts"
],
"engines": {
"node": ">=24.16 <27"
},
"browserslist": [
"chrome >= 93",
"edge >= 93",
"firefox >= 92",
"safari >= 15.4",
"ios_saf >= 15.4"
],
"scripts": {
"dev": "node --import tsx scripts/maintenance/dev.ts",
"dev:next": "next dev --webpack",
"dev:proxy": "node --import tsx scripts/maintenance/dev-api-proxy.ts",
"ci:census": "node --import tsx scripts/maintenance/ci-failure-census.ts",
"bootstrap:generated": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --bootstrap",
"bootstrap:generated:history": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --only=sitemap-dates,docs-metadata",
"generated:compile-input": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --build-lifecycle=compile-input",
"generated:post-refresh": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --build-lifecycle=post-refresh",
"verify:coingecko-ids": "python3 scripts/maintenance/verify-coingecko-ids.py",
"verify:detail-snapshot-sources": "node --import tsx scripts/maintenance/compare-detail-snapshot-sources.ts",
"research:dwellir-rpc": "node scripts/maintenance/dwellir-rpc.mjs",
"prebuild": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --build-lifecycle=compile-input,post-refresh",
"build": "next build --webpack",
"build:world-map": "tsx scripts/maintenance/build-world-map-svg.ts",
"postbuild": "tsx scripts/maintenance/generate-markdown-exports.ts && node --import tsx scripts/maintenance/inline-homepage-critical-css.ts",
"start": "npm run serve:static-export",
"lint": "eslint . --cache --cache-strategy content --cache-location .cache/eslint/ --max-warnings=0",
"lint:changed": "node --import tsx scripts/ci/run-changed-eslint.ts",
"lint:typed": "NODE_OPTIONS=--max-old-space-size=8192 eslint --config eslint.typed.config.mjs \"worker/src/**/*.{ts,tsx}\" \"shared/lib/**/*.ts\" \"shared/contracts/**/*.ts\" \"functions/**/*.{ts,tsx}\" \"src/lib/**/*.{ts,tsx}\" \"src/hooks/**/*.{ts,tsx}\" --max-warnings=0",
"typecheck": "next typegen && tsc --noEmit -p tsconfig.typecheck.json",
"typecheck:tests": "NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit -p tsconfig.test-typecheck.json",
"typecheck:worker": "cd worker && NODE_OPTIONS=--max-old-space-size=8192 npx tsc --noEmit",
"audit:deps": "npm audit --audit-level=high --omit=dev",
"check:dependency-audit": "node --import tsx scripts/ci/verify-dependency-audit.ts",
"audit:mint-authority-review": "node --import tsx scripts/maintenance/generate-mint-authority-review-audit.ts",
"audit:mint-bridge-ownership": "tsx scripts/maintenance/generate-mint-bridge-ownership-audit.ts",
"audit:bridge-route-coverage": "tsx scripts/maintenance/generate-bridge-route-coverage-audit.ts",
"audit:coverage": "node --import tsx scripts/maintenance/run-coverage-audit.ts",
"audit:dependency-reconcile": "node --import tsx scripts/maintenance/reconcile-dependency-graph.ts",
"audit:live-reserve-config-changes": "node --import tsx worker/scripts/report-live-reserve-config-changes.ts",
"dependency-scenarios:compute": "node --expose-gc --import tsx worker/scripts/compute-dependency-scenarios.ts --mode compute",
"audit:mint-burn-conservation-admission": "node --import tsx worker/scripts/audit-mint-burn-conservation-admission.ts",
"test": "node --import tsx scripts/maintenance/run-all-tests.ts",
"test:pr": "node --import tsx scripts/maintenance/run-pr-tests.ts",
"test:v9-resource": "node --import tsx scripts/maintenance/run-v9-resource-lane.ts",
"test:profile": "node scripts/maintenance/profile-vitest.mjs",
"measure:v9-resource": "node --import tsx worker/scripts/measure-v9-resource.ts",
"qualify:worker-memory": "node scripts/maintenance/qualify-worker-memory.mjs",
"calibrate:v9-resource": "node --import tsx worker/scripts/calibrate-v9-resource.ts",
"test:critical-contracts": "node --import tsx scripts/maintenance/run-critical-contracts.ts",
"coverage:critical": "node --import tsx scripts/maintenance/run-critical-coverage.ts",
"coverage:critical:update-baseline": "node --import tsx scripts/maintenance/update-critical-coverage-baseline.ts",
"check:critical-coverage-completeness": "node --import tsx scripts/ci/check-critical-coverage.ts --completeness",
"check:pr": "node --import tsx scripts/maintenance/run-pr-checks.ts",
"check:pr:static": "node --import tsx scripts/maintenance/run-pr-static-checks.ts",
"check:focused": "node --import tsx scripts/maintenance/run-focused-checks.ts",
"check:release": "node --import tsx scripts/maintenance/run-release-rehearsal.ts",
"check:pages-release": "node --import tsx scripts/maintenance/run-pages-release-checks.ts",
"check:pages-artifact": "node --import tsx scripts/ci/run-pages-artifact-lane.ts",
"check:worker-package": "node --import tsx scripts/ci/check-worker-package.ts",
"validate:pages-smoke": "node scripts/maintenance/run-pages-smoke.mjs",
"validate:worker-scheduled-smoke": "vitest run worker/src/__tests__/index.scheduled.test.ts",
"validate:worker-smoke": "node scripts/maintenance/run-worker-smoke.mjs",
"validate:worker-heavy-runtime-smoke": "WORKER_SMOKE_CONFIG=worker/wrangler.heavy.toml WORKER_SMOKE_ISOLATED=true WORKER_SMOKE_MODE=scheduled-heavy node scripts/maintenance/run-worker-smoke.mjs",
"lighthouse:static": "node --import tsx scripts/maintenance/lighthouse-static-export.ts",
"check:generated-artifacts": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --check",
"test:watch": "vitest",
"audit:pricing-providers": "tsx scripts/maintenance/audit-pricing-provider-config.ts",
"check:provider-resilience": "node --import tsx scripts/ci/check-provider-resilience.ts",
"check:fetch-body-timeouts": "node --import tsx scripts/ci/check-fetch-body-timeouts.ts",
"check:dex-census-provider-drift": "node --import tsx scripts/ci/check-dex-census-provider-drift.ts",
"audit:price-source-depth": "tsx scripts/maintenance/audit-price-source-depth.ts",
"ops:d1-insights": "node scripts/maintenance/capture-d1-insights.mjs",
"ops:benchmark-worker-compatibility": "node --import tsx scripts/maintenance/benchmark-worker-compatibility-date.ts",
"ops:watch-worker-cron": "node scripts/maintenance/watch-worker-cron.mjs",
"ops:cron-delivery": "node --import tsx scripts/maintenance/cron-delivery.mjs",
"ops:worker-memory": "node --import tsx scripts/maintenance/monitor-worker-memory.ts",
"ops:http-telemetry": "node --import tsx scripts/maintenance/collect-http-telemetry.ts",
"ops:night-watch-worker": "node scripts/maintenance/night-watch-worker.mjs",
"ops:worker-evidence-report": "node --import tsx scripts/maintenance/worker-evidence-report.mjs",
"ops:worker-incidents": "node --import tsx scripts/maintenance/worker-incident-bundle.mjs",
"ops:worker-status-profile": "node --import tsx worker/scripts/worker-status-profile.mjs",
"calibrate:yield-venue-risk": "tsx scripts/maintenance/yield-venue-risk-calibration.ts",
"calibrate:ddrr": "tsx scripts/maintenance/generate-ddrr-calibration-report.ts",
"freeze-stablecoin": "tsx scripts/maintenance/freeze-stablecoin.ts",
"sync:digests": "tsx scripts/maintenance/sync-digests.ts",
"serve:static-export": "node --import tsx scripts/maintenance/serve-static-export.ts",
"test:smoke-api": "node --import tsx scripts/maintenance/smoke-api.mjs",
"test:smoke-transport": "node scripts/maintenance/smoke-transport.mjs",
"test:smoke-ops": "node scripts/maintenance/smoke-ops.mjs",
"test:smoke-pages-assets": "node scripts/maintenance/smoke-pages-assets.mjs",
"test:smoke-ui": "node scripts/maintenance/smoke-ui.mjs",
"test:smoke-ui:mobile": "node scripts/maintenance/smoke-mobile-ui.mjs --strict-touch-targets",
"check:cloudflare-account-state": "node scripts/ci/check-cloudflare-account-state-drift.mjs",
"check:unused-code": "node --import tsx scripts/ci/check-unused-code.ts",
"check:sensitive-page-copy": "node --import tsx scripts/ci/check-sensitive-page-copy.ts",
"check:script-entrypoints": "node --import tsx scripts/ci/check-script-entrypoints.ts",
"check:cli-args-policy": "node --import tsx scripts/ci/check-cli-args-policy.ts",
"check:agent-skills": "node scripts/maintenance/sync-agent-skills.mjs --check",
"check:architecture-boundaries": "node --import tsx scripts/ci/check-architecture-boundaries.ts",
"check:structural": "node --import tsx scripts/maintenance/run-pr-static-checks.ts --structural",
"check:site-csp-sync": "tsx scripts/ci/check-site-csp-sync.ts",
"check:cron-sync": "tsx scripts/ci/check-cron-schedule-sync.ts",
"check:worker-config": "tsx scripts/ci/check-worker-wrangler-config.ts",
"agent:route": "node --import tsx scripts/ci/pharos-change-contract.ts",
"agent:setup": "node --import tsx scripts/maintenance/setup-agent-hooks.ts",
"check:frozen-invariants": "tsx scripts/ci/check-frozen-invariants.ts",
"check:verified-doc-links": "node --import tsx scripts/ci/check-verified-doc-links.ts",
"check:doc-sync": "tsx scripts/ci/check-doc-sync.ts",
"check:env-contract": "node --import tsx scripts/ci/check-env-contract.ts",
"check:migrations": "node --import tsx scripts/ci/check-worker-migrations.ts",
"check:remote-d1-baseline-ledger": "node --import tsx scripts/ci/check-remote-d1-baseline-ledger.ts",
"check:cron-connections": "tsx scripts/ci/check-cron-connection-budget.ts",
"check:sql-safety": "node --import tsx scripts/ci/check-sql-interpolation-safety.ts",
"check:stablecoin-data": "tsx scripts/ci/check-stablecoin-data.ts",
"check:editorial-content": "node --import tsx scripts/ci/check-editorial-content.ts",
"check:failure-scenarios": "node --import tsx scripts/ci/check-failure-scenarios.ts",
"scenarios:approve": "node --import tsx scripts/maintenance/approve-failure-scenario.ts",
"verify:failure-scenarios": "node --import tsx scripts/maintenance/verify-failure-scenarios.ts",
"check:dependency-review-gaps": "tsx scripts/ci/check-dependency-review-gaps.ts",
"report-cards:capture-fixed-input": "tsx worker/scripts/capture-report-cards-fixed-input.ts",
"safety-score-v9:replay": "node --import tsx worker/scripts/replay-safety-score-v9.ts",
"safety-score-v9:diff": "node --import tsx worker/scripts/diff-safety-score-v9-replays.ts",
"safety-score-v9:movers": "node --import tsx worker/scripts/diff-safety-score-v9-movers.ts",
"safety-score-v9:expiry-queue": "tsx worker/scripts/list-curation-expiry-queue.ts",
"safety-score-v9:live-withheld": "tsx worker/scripts/check-safety-score-v9-live-withheld.ts",
"safety-score-v9:anchor-gate": "tsx worker/scripts/check-safety-score-v9-anchor-gate.ts",
"safety-score-v9:missing-data-registry": "tsx scripts/maintenance/generate-safety-score-v9-missing-data-registry.ts",
"safety-score-v9:curation-worklist": "node --import tsx scripts/maintenance/generate-safety-score-v9-curation-worklist.mjs",
"safety-score-v9:sensitivity": "tsx scripts/maintenance/run-safety-score-v9-policy-sensitivity.ts",
"generate:safety-score-v9-evaluation-build": "tsx scripts/maintenance/generate-safety-score-v9-evaluation-build-manifest.ts",
"candidates:annotations": "tsx scripts/maintenance/build-annotation-candidates.ts",
"candidates:ai-summaries": "tsx scripts/maintenance/build-ai-summary-staleness-candidates.ts",
"candidates:l2beat-bridge-routes": "tsx scripts/maintenance/build-l2beat-bridge-route-candidates.ts",
"logos:fetch": "tsx scripts/maintenance/fetch-logos.ts",
"logos:compact": "node --import tsx scripts/maintenance/generate-compact-logos.ts",
"logos:cemetery-atlas": "node --import tsx scripts/maintenance/build-cemetery-logo-atlas.ts",
"subset:fonts": "node scripts/maintenance/subset-fonts.mjs",
"generate:public-datasets": "tsx scripts/maintenance/generate-public-datasets.ts",
"digest:curation": "node scripts/maintenance/weekly-curation-digest.mjs",
"check:build-size": "node scripts/maintenance/report-build-size.mjs --check",
"check:phishing-signatures": "node --import tsx scripts/ci/check-phishing-signatures.ts",
"check:safe-browsing": "node --import tsx scripts/ci/check-safe-browsing.ts",
"install:whyte-fonts": "node --import tsx scripts/maintenance/install-whyte-fonts.ts",
"check:feature-flag-inlining": "node --import tsx scripts/ci/check-feature-flag-inlining.ts",
"check:html-fixture-age": "node --import tsx scripts/ci/check-html-fixture-age.ts",
"check:html-fixture-metadata": "node --import tsx scripts/ci/check-html-fixture-age.ts --metadata-only",
"refresh:html-fixtures": "tsx scripts/maintenance/refresh-reserve-html-fixtures.ts",
"refresh:assurance-reports": "tsx scripts/maintenance/refresh-independent-assurance-reports.ts",
"refresh:usdy-holdings-report": "tsx scripts/maintenance/refresh-usdy-holdings-report.ts",
"refresh:markdown-fixtures": "tsx scripts/maintenance/refresh-markdown-export-fixtures.ts",
"seo:live-smoke": "node scripts/ci/check-seo-live-smoke.mjs",
"seo:check": "node scripts/ci/check-seo-static.mjs",
"analyze:gsc-coverage": "node scripts/maintenance/analyze-gsc-coverage.mjs",
"analyze:gsc-performance": "node scripts/maintenance/analyze-gsc-performance.mjs",
"analyze:web-vitals": "node scripts/maintenance/analyze-web-vitals.mjs",
"build:og-editorial": "node scripts/maintenance/build-og-editorial.mjs",
"build:safety-score-map": "tsx scripts/maintenance/build-safety-score-map.ts --edition=daily",
"build:daily-social": "tsx scripts/maintenance/build-daily-social.ts",
"publish:daily-social": "tsx scripts/maintenance/publish-daily-social.ts",
"build:safety-score-map:monthly": "tsx scripts/maintenance/build-safety-score-map.ts --edition=monthly",
"build:og-cemetery": "node --import tsx scripts/maintenance/build-og-cemetery.ts",
"build:og-route-timeless": "node --import tsx scripts/maintenance/build-og-route-timeless.ts",
"prepare": "node --import tsx scripts/maintenance/prepare-workspace.ts",
"check:runtime-reachability": "node --import tsx scripts/ci/check-runtime-reachability.ts"
},
"dependencies": {
"@pharos/contracts": "*",
"@radix-ui/react-dialog": "^1.3.1",
"@radix-ui/react-dropdown-menu": "^2.2.1",
"@radix-ui/react-label": "^2.1.17",
"@radix-ui/react-popover": "^1.3.1",
"@radix-ui/react-slot": "1.5.0",
"@radix-ui/react-toggle": "^1.2.1",
"@radix-ui/react-toggle-group": "^1.2.1",
"@radix-ui/react-tooltip": "^1.4.1",
"@tanstack/react-query": "5.104.3",
"@tanstack/react-virtual": "^3.14.20",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"d3-force": "3.0.0",
"html-to-image": "^1.11.13",
"lucide-react": "1.58.0",
"next": "16.4.2",
"next-themes": "^0.4.6",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-markdown": "10.1.0",
"react-tweet": "^3.3.1",
"recharts": "^3.10.1",
"rehype-autolink-headings": "7.1.0",
"rehype-slug": "6.0.0",
"remark-gfm": "4.0.1",
"tailwind-merge": "^3.7.0",
"zod": "4.6.7"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@testing-library/react": "^16.3.3",
"@types/d3-force": "3.0.10",
"@types/d3-geo": "3.1.1",
"@types/node": "26.6.5",
"@types/react": "^19.3.0",
"@types/react-dom": "^19",
"@types/topojson-client": "3.1.5",
"@vitest/coverage-v8": "^4.1.12",
"beasties": "0.5.5",
"d3-geo": "3.1.1",
"esbuild": "0.28.2",
"eslint": "^9.39.5",
"eslint-config-next": "16.4.2",
"eslint-plugin-security": "^4.2.0",
"jsdom": "^30.1.3",
"lossless-json": "4.3.2",
"playwright": "1.64.1",
"sharp": "0.35.5",
"tailwindcss": "4.3.3",
"topojson-client": "3.1.0",
"tsx": "^4.23.15",
"tw-animate-css": "^1.4.0",
"typescript": "~5.9.0",
"typescript-eslint": "^8.71.2",
"vitest": "^4.1.12",
"wrangler": "4.151.1",
"yaml": "2.9.1"
},
"overrides": {
"nanoid": "3.3.18",
"postcss": "8.5.23",
"sharp": "0.35.5",
"viem": {
"ws": "8.21.0"
},
"fflate": "0.7.5",
"miniflare@5.20261012.1-beta": {
"undici": "7.30.1"
}
}
}