-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 6.92 KB
/
Copy pathpackage.json
File metadata and controls
164 lines (164 loc) · 6.92 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
{
"name": "comapeo-cloud-app",
"private": true,
"version": "0.0.0",
"type": "module",
"packageManager": "bun@1.3.14",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"dev": "vite",
"dev:tunnel": "bash scripts/dev-tunnel.sh",
"build": "npx tsx scripts/generate-metadata.ts && tsc --noEmit && vite build",
"build:ci": "npx tsx scripts/generate-metadata.ts && vite build",
"preview": "vite preview",
"validate": "bash scripts/validate.sh",
"validate:fast": "bash scripts/validate-fast.sh",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"lint:types": "tsc --noEmit",
"format": "prettier --write .",
"test": "vitest run --project=unit",
"test:watch": "vitest --project=unit",
"test:coverage": "vitest run --project=unit --coverage",
"test:e2e": "playwright test --reporter=list",
"test:e2e:ui": "playwright test --ui",
"test:screenshots": "playwright test --project=screenshot --reporter=list",
"test:screenshots:ci": "playwright test --project=screenshot",
"deploy": "npm run build && npx tsx scripts/clean-sourcemaps.ts && npx wrangler pages deploy dist/ --project-name=comapeo-cloud-app",
"deploy:preview": "npm run build && npx tsx scripts/clean-sourcemaps.ts && npx wrangler pages deploy dist/ --project-name=comapeo-cloud-app --branch preview",
"prepare": "husky",
"extract-messages": "formatjs extract 'src/**/*.{ts,tsx}' --ignore 'src/vite-env.d.ts' --out-file src/i18n/messages/en.json",
"check:i18n": "npm run extract-messages && git diff --exit-code -- src/i18n/messages/en.json",
"verify:handoff": "npm run lint && npm run test:coverage && npm run build",
"generate-metadata": "npx tsx scripts/generate-metadata.ts",
"clean-sourcemaps": "npx tsx scripts/clean-sourcemaps.ts",
"upload-sourcemaps": "npx tsx scripts/upload-sourcemaps.ts",
"translate:locale": "npx tsx scripts/translate-locale.ts",
"test:unit": "vitest run --project=unit",
"test:storybook": "vitest run --project=storybook --reporter=default --reporter=html --outputFile=storybook-test-output/index.html",
"test:storybook:runner": "test-storybook --config-dir .storybook",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"storybook:screenshots": "npx tsx scripts/storybook-screenshots.ts",
"storybook:screenshots:mobile": "npx tsx scripts/storybook-screenshots.ts --viewport mobile",
"storybook:screenshots:desktop": "npx tsx scripts/storybook-screenshots.ts --viewport desktop",
"storybook:screenshots:check": "npx tsx scripts/storybook-screenshots-diff.ts --check",
"storybook:screenshots:baseline": "npx tsx scripts/storybook-screenshots-diff.ts --update",
"review:mobile": "npx tsx scripts/review-mobile-visuals.ts",
"review:mobile:storybook": "npx tsx scripts/review-mobile-visuals.ts --only storybook",
"review:mobile:e2e": "npx tsx scripts/review-mobile-visuals.ts --only e2e",
"review:desktop": "npx tsx scripts/review-mobile-visuals.ts --viewport desktop",
"review:desktop:storybook": "npx tsx scripts/review-mobile-visuals.ts --viewport desktop --only storybook",
"review:desktop:e2e": "npx tsx scripts/review-mobile-visuals.ts --viewport desktop --only e2e",
"review:all": "npx tsx scripts/review-mobile-visuals.ts --viewport both",
"pipeline:mobile-review": "npm run test:screenshots && npm run storybook:screenshots:mobile && npm run review:mobile",
"pipeline:desktop-review": "npm run storybook:screenshots:desktop && npm run review:desktop:storybook",
"pipeline:review": "npm run storybook:screenshots && npm run review:all"
},
"overrides": {
"axios": "^1.18.1",
"esbuild": "^0.28.1",
"fast-uri": "^3.1.4",
"form-data": "^4.0.6",
"joi": "^17.13.4",
"js-yaml": "^3.15.0",
"postcss": "^8.5.23",
"sharp": "^0.35.3",
"shell-quote": "^1.10.0",
"ws": "^8.21.0"
},
"dependencies": {
"@gmaclennan/zip-reader": "^1.0.0",
"@hookform/resolvers": "^5.4.0",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-tooltip": "^1.2.8",
"@sentry/react": "^10.55.0",
"@tanstack/react-query": "^5.100.14",
"@tanstack/react-router": "^1.170.10",
"@tanstack/react-virtual": "^3.13.26",
"@turf/bbox": "^7.3.5",
"@turf/turf": "^7.3.5",
"date-fns": "^4.4.0",
"dexie": "^4.4.3",
"esbuild": "^0.28.1",
"jszip": "^3.10.1",
"maplibre-gl": "^5.24.0",
"polygon-clipping": "^0.15.7",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-hook-form": "^7.77.0",
"react-intl": "^10.1.11",
"react-map-gl": "^8.1.1",
"styled-map-package-api": "^5.0.0-pre.5",
"valibot": "^1.4.1",
"zustand": "^5.0.14"
},
"devDependencies": {
"@argos-ci/playwright": "^7.0.5",
"@chromatic-com/storybook": "^5.2.1",
"@cloudflare/workers-types": "^4.20260702.1",
"@eslint/compat": "^2.1.0",
"@eslint/js": "^10.0.1",
"@formatjs/cli": "^6.16.6",
"@playwright/test": "^1.60.0",
"@sentry/cli": "^3.4.3",
"@storybook/addon-a11y": "^10.4.1",
"@storybook/addon-docs": "^10.4.1",
"@storybook/addon-mcp": "^0.6.0",
"@storybook/addon-vitest": "^10.4.1",
"@storybook/tanstack-react": "^10.4.1",
"@storybook/test-runner": "^0.24.4",
"@tailwindcss/vite": "^4.3.0",
"@tanstack/eslint-plugin-query": "^5.100.14",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/node": "^25.9.1",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.5",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/browser-playwright": "^4.1.10",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/ui": "^4.1.10",
"axe-playwright": "^2.2.2",
"eslint": "^10.4.1",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"eslint-plugin-storybook": "^10.4.1",
"eslint-plugin-testing-library": "^7.16.2",
"fake-indexeddb": "^6.2.5",
"globals": "^17.6.0",
"http-proxy-3": "^1.23.2",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^17.0.7",
"msw": "^2.14.6",
"npm-run-all": "^4.1.5",
"pixelmatch": "^7.2.0",
"playwright": "^1.60.0",
"pngjs": "^7.0.0",
"prettier": "^3.8.3",
"storybook": "^10.4.1",
"typescript": "~6.0.3",
"typescript-eslint": "^8.60.0",
"vite": "^8.0.16",
"vite-plugin-pwa": "^1.3.0",
"vitest": "^4.1.10",
"wrangler": "^4.95.0"
}
}