-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.56 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 2.56 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
{
"name": "instant-dashboard",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"fetch-content": "node scripts/fetch-content.mjs",
"gen:api-types": "openapi-typescript ./openapi.snapshot.json -o ./src/api/generated.ts",
"gen:api-types:check": "node scripts/check-api-types.mjs",
"predev": "node scripts/fetch-content.mjs",
"dev": "vite",
"prebuild": "node scripts/fetch-content.mjs && npm run gen:api-types",
"build": "tsc && vite build && node scripts/prerender.mjs",
"preview": "vite preview",
"test": "vitest run",
"gate": "tsc --noEmit && npm run build && vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:live": "playwright test --config=playwright.live.config.ts",
"test:e2e:live:pr-smoke": "playwright test --config=playwright.live.config.ts --grep @pr-smoke",
"reap:live": "node e2e/reap-cohort.ts",
"deploy:pages": "npm run build && echo 'Built to dist/. dist/404.html is the SPA shell (written by prerender.mjs Step 4.7). Push to main to deploy.'"
},
"dependencies": {
"@newrelic/browser-agent": "^1.316.0",
"@tanstack/react-query": "^5.101.0",
"fuse.js": "^7.4.2",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router-dom": "^7.17.0",
"zustand": "^5.0.14"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@size-limit/preset-app": "^12.1.0",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^25.9.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/coverage-v8": "^4.1.8",
"jsdom": "^29.1.1",
"openapi-typescript": "^7.13.0",
"size-limit": "^12.1.0",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vitest": "^4.1.7"
},
"overridesComment": "openapi-typescript@7 peer-requires typescript@^5; this repo is on TS 6 and the codegen works fine with it. The override below satisfies that peer with the repo's own typescript so plain `npm ci` resolves WITHOUT --legacy-peer-deps (which would otherwise drop the auto-installed @testing-library/dom peer and break the test type surface). Scoped to the openapi-typescript subtree only.",
"overrides": {
"openapi-typescript": {
"typescript": "$typescript"
}
},
"size-limit": [
{
"path": "dist/assets/index-*.js",
"limit": "350 KB",
"running": false
},
{
"path": "dist/assets/index-*.css",
"limit": "60 KB",
"running": false
}
]
}