-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
235 lines (235 loc) · 15.1 KB
/
Copy pathpackage.json
File metadata and controls
235 lines (235 loc) · 15.1 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
{
"name": "pharos-watch",
"version": "0.1.0",
"private": true,
"license": "MIT",
"workspaces": [
"worker"
],
"engines": {
"node": ">=24 <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",
"bootstrap:generated": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --bootstrap",
"check:bootstrap": "node --import tsx scripts/maintenance/run-bootstrap-rehearsal.ts",
"bootstrap:generated:history": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --only=sitemap-dates,docs-metadata",
"verify:coingecko-ids": "python3 scripts/maintenance/verify-coingecko-ids.py",
"prebuild": "node --import tsx scripts/maintenance/run-generated-artifacts.ts --build-lifecycle=compile-input",
"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": "eslint --config eslint.typed.config.mjs \"worker/src/**/*.ts\" \"worker/src/**/*.tsx\" \"shared/lib/**/*.ts\" \"functions/**/*.ts\" --max-warnings=0",
"typecheck": "next typegen && tsc --noEmit -p tsconfig.typecheck.json",
"typecheck:tests": "tsc --noEmit -p tsconfig.test-typecheck.json",
"typecheck:worker": "cd worker && npx tsc --noEmit",
"audit:deps": "npm audit --audit-level=high --omit=dev",
"audit:mint-authority-review": "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",
"test": "vitest run",
"test:all": "node --import tsx scripts/maintenance/run-all-tests.ts",
"test:pr": "node --import tsx scripts/maintenance/run-pr-tests.ts",
"test:profile": "node scripts/maintenance/profile-vitest.mjs",
"test:critical-contracts": "node --import tsx scripts/maintenance/run-critical-contracts.ts",
"audit:eurostablecoins-coverage": "node --import tsx scripts/maintenance/audit-eurostablecoins-coverage.ts",
"coverage:critical": "node --import tsx scripts/maintenance/run-critical-coverage.ts",
"coverage:critical:shard": "node --import tsx scripts/maintenance/run-critical-coverage-shard.ts",
"coverage:critical:merge": "node --import tsx scripts/maintenance/merge-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": "npm run build && npm run check:pages-release && npm run check:worker-package",
"check:pages-release": "node --import tsx scripts/maintenance/run-pages-release-checks.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",
"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",
"audit:dia-provider": "tsx scripts/maintenance/audit-dia-provider-poc.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:night-watch-worker": "node scripts/maintenance/night-watch-worker.mjs",
"ops:night-watch-worker:two-cycle": "node scripts/maintenance/night-watch-worker.mjs --cycles 2 --include-status --include-status-history --include-d1",
"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",
"sync:staged-artifacts": "node --import tsx scripts/ci/sync-staged-generated-artifacts.mts",
"serve:static-export": "node --import tsx scripts/maintenance/serve-static-export.ts",
"test:a11y": "playwright test tests/visual/a11y/axe-routes.spec.ts",
"test:a11y:hydrated": "playwright test tests/visual/a11y/axe-routes-hydrated.spec.ts",
"test:ops-browser": "playwright test --config playwright.ops.config.ts",
"test:smoke-api": "node 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:table-primitives": "node --import tsx scripts/ci/check-table-primitives.ts",
"check:cron-console-usage": "node --import tsx scripts/ci/check-cron-console-usage.ts",
"check:cron-console-usage:update-baseline": "node --import tsx scripts/ci/check-cron-console-usage.ts --update-baseline",
"check:clone-ratchet": "node --import tsx scripts/ci/check-clone-ratchet.ts",
"check:clone-ratchet:update-baseline": "node --import tsx scripts/ci/check-clone-ratchet.ts --update-baseline",
"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:shared-types-imports": "node --import tsx scripts/ci/check-shared-types-imports.ts",
"check:hook-polling-window": "node --import tsx scripts/ci/check-hook-polling-window.ts",
"check:structural": "npm run check:cron-console-usage && npm run check:clone-ratchet && npm run check:provider-resilience && npm run check:fetch-body-timeouts && npm run check:runtime-reachability && npm run check:script-entrypoints && npm run check:cli-args-policy && npm run check:stale-flags && npm run check:hook-polling-window && npm run check:dependency-review-gaps && npm run check:unused-code && npm run check:sensitive-page-copy && npm run check:agent-skills",
"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-source-paths": "node --import tsx scripts/ci/check-doc-source-paths.ts",
"check:doc-symbols": "tsx scripts/ci/check-doc-symbols.ts",
"check:doc-sync": "tsx scripts/ci/check-doc-sync.ts && npm run check:doc-symbols",
"check:env-contract": "node --import tsx scripts/ci/check-env-contract.ts",
"check:migrations": "node --import tsx scripts/ci/check-worker-migrations.ts",
"check:cron-connections": "tsx scripts/ci/check-cron-connection-budget.ts",
"check:telegram-load": "tsx scripts/ci/check-telegram-load.ts --enforce-target-slo",
"check:sql-safety": "node --import tsx scripts/ci/check-sql-interpolation-safety.ts",
"check:stale-flags": "node --import tsx scripts/ci/check-stale-flags.ts",
"check:stablecoin-data": "tsx scripts/ci/check-stablecoin-data.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 scripts/maintenance/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:calibration-analysis": "tsx scripts/maintenance/analyze-safety-score-v9-calibration.mjs",
"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",
"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:depeg-operational-integrity": "node --import tsx scripts/ci/check-depeg-operational-integrity.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",
"refresh:html-fixtures": "tsx scripts/maintenance/refresh-reserve-html-fixtures.ts",
"refresh:assurance-reports": "tsx scripts/maintenance/refresh-independent-assurance-reports.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",
"og:capture": "node scripts/maintenance/screenshot-og.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:safety-score-map:monthly": "tsx scripts/maintenance/build-safety-score-map.ts --edition=monthly",
"build:og-case-studies": "tsx scripts/maintenance/build-og-case-studies.ts",
"prepare": "node --import tsx scripts/maintenance/prepare-workspace.ts",
"check:runtime-reachability": "node --import tsx scripts/ci/check-runtime-reachability.ts"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-dropdown-menu": "^2.1.24",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-popover": "^1.1.23",
"@radix-ui/react-slot": "1.3.3",
"@radix-ui/react-toggle": "^1.1.18",
"@radix-ui/react-toggle-group": "^1.1.19",
"@radix-ui/react-tooltip": "^1.2.16",
"@tanstack/react-query": "5.102.1",
"@tanstack/react-virtual": "^3.14.10",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"d3-force": "3.0.0",
"github-slugger": "^2.0.0",
"html-to-image": "^1.11.13",
"lucide-react": "1.33.0",
"next": "16.3.2",
"next-themes": "^0.4.6",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"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.6.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@axe-core/playwright": "4.13.0",
"@playwright/test": "1.62.1",
"@tailwindcss/postcss": "^4.3.3",
"@testing-library/react": "^16.3.0",
"@types/d3-force": "3.0.10",
"@types/d3-geo": "3.1.1",
"@types/node": "26.2.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19",
"@types/topojson-client": "3.1.5",
"@vitest/coverage-v8": "^4.1.11",
"beasties": "0.4.3",
"d3-geo": "3.1.1",
"esbuild": "0.28.2",
"eslint": "^9.39.5",
"eslint-config-next": "16.3.2",
"eslint-plugin-security": "^4.0.1",
"jsdom": "^30.0.1",
"lossless-json": "4.3.1",
"tailwindcss": "4.3.3",
"topojson-client": "3.1.0",
"tsx": "^4.23.12",
"tw-animate-css": "^1.4.0",
"typescript": "~5.9.0",
"typescript-eslint": "^8.67.0",
"vitest": "^4.1.10",
"wrangler": "4.125.0",
"yaml": "2.9.0"
},
"overrides": {
"nanoid": "3.3.18",
"postcss": "8.5.23",
"sharp": "0.35.3",
"undici": "7.29.0",
"viem": {
"ws": "8.21.0"
}
}
}