Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
247 lines (247 loc) · 9.72 KB
/
Copy pathpackage.json
File metadata and controls
247 lines (247 loc) · 9.72 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
{
"dependencies": {
"@ai-sdk/google": "^4.0.29",
"@ai-sdk/vue": "^4.0.18",
"@auth/core": "^0.34.3",
"@google-cloud/storage": "^7.18.0",
"@googlemaps/polyline-codec": "^1.0.28",
"@iconify-json/ph": "^1.2.2",
"@internationalized/date": "^3.12.2",
"@markw65/fit-file-writer": "^0.1.10",
"@modelcontextprotocol/node": "2.0.0-beta.3",
"@modelcontextprotocol/server": "2.0.0-beta.3",
"@next-auth/prisma-adapter": "^1.0.7",
"@nuxt/content": "^3.15.0",
"@nuxt/ui": "^4.9.0",
"@nuxtjs/mdc": "^0.22.2",
"@openfoodfacts/openfoodfacts-nodejs": "2.0.0-alpha.29",
"@pinia/nuxt": "^0.11.3",
"@prisma/adapter-pg": "^7.8.0",
"@prisma/client": "^7.8.0",
"@resvg/resvg-js": "^2.6.2",
"@sentry/esbuild-plugin": "^5.4.0",
"@sentry/node": "^10.64.0",
"@sentry/nuxt": "^10.64.0",
"@sidebase/nuxt-auth": "^1.1.1",
"@stefanobartoletti/nuxt-social-share": "^3.1.0",
"@tiptap/extension-image": "^3.27.3",
"@tiptap/extension-link": "^3.27.3",
"@tiptap/extension-placeholder": "^3.29.1",
"@tiptap/extension-text-align": "^3.27.3",
"@tiptap/starter-kit": "^3.27.3",
"@tiptap/vue-3": "^3.27.3",
"@tolgee/format-icu": "^7.1.1",
"@tolgee/vue": "^7.1.1",
"@tolgee/web": "^7.1.2",
"@trigger.dev/core": "4.5.4",
"@trigger.dev/sdk": "4.5.4",
"@types/uuid": "^11.0.0",
"@vue-email/compiler": "^0.8.14",
"@vue-email/nuxt": "^0.8.19",
"@vue-leaflet/vue-leaflet": "^0.10.1",
"@vueuse/core": "^14.3.0",
"ai": "^7.0.37",
"bcrypt": "^6.0.0",
"better-sqlite3": "^12.11.1",
"bullmq": "^5.79.3",
"chalk": "^5.6.2",
"chart.js": "^4.5.1",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-annotation": "^3.1.0",
"chartjs-plugin-datalabels": "^2.2.0",
"chartjs-plugin-zoom": "^2.2.0",
"cli-table3": "^0.6.5",
"commander": "^14.0.2",
"date-fns": "^4.4.0",
"date-fns-tz": "^3.2.0",
"dotenv": "^17.2.3",
"fit-file-parser": "^2.1.0",
"geoip-lite": "^1.4.10",
"import-in-the-middle": "^2.0.6",
"ioredis": "^5.11.1",
"jimp": "0.22.12",
"leaflet": "^1.9.4",
"marked": "^17.0.1",
"motion-v": "^2.3.0",
"next-auth": "4.21.1",
"nuxt": "^4.5.0",
"nuxt-api-shield": "^1.0.0",
"nuxt-gtag": "^4.1.0",
"ofetch": "^1.5.1",
"pg": "^8.22.0",
"pinia": "^3.0.4",
"prisma": "^7.9.1",
"qrcode": "^1.5.4",
"resend": "^6.17.2",
"stripe": "^22.3.0",
"svix": "^1.96.1",
"tsx": "^4.21.0",
"turndown": "^7.2.2",
"uncrypto": "^0.1.3",
"unhead": "^2.1.1",
"uuid": "^13.0.0",
"vue": "^3.5.41",
"vue-chartjs": "^5.3.4",
"vue-email": "^0.8.11",
"vue-json-pretty": "^2.6.0",
"vue-router": "^5.1.0",
"vuedraggable": "^4.1.0",
"xmlbuilder2": "^4.0.3",
"yazio": "^1.1.3",
"zod": "^4.4.3",
"zod-to-json-schema": "^3.25.2"
},
"devDependencies": {
"@iconify-json/heroicons": "^1.2.3",
"@iconify-json/lucide": "^1.2.116",
"@iconify-json/material-symbols": "^1.2.88",
"@iconify-json/simple-icons": "^1.2.89",
"@iconify-json/tabler": "^1.2.37",
"@lhci/cli": "^0.15.1",
"@nuxt/eslint": "^1.16.0",
"@nuxt/icon": "^2.3.1",
"@nuxt/test-utils": "^4.0.3",
"@playwright/test": "^1.62.0",
"@release-it/conventional-changelog": "^10.0.4",
"@tiptap/core": "^3.27.3",
"@tiptap/pm": "^3.27.3",
"@tolgee/cli": "^2.20.0",
"@trigger.dev/build": "4.5.4",
"@types/bcrypt": "^6.0.0",
"@types/geoip-lite": "^1.4.4",
"@types/leaflet": "^1.9.21",
"@types/node": "^24.10.4",
"@types/pg": "^8.20.4",
"@types/qrcode": "^1.5.6",
"@types/turndown": "^5.0.6",
"@vitest/coverage-v8": "^4.1.10",
"@vue/test-utils": "^2.4.6",
"esbuild-plugin-copy": "^2.1.1",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"glob": "^13.0.6",
"h3": "1.15.11",
"happy-dom": "^20.3.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"magicast": "^0.3.5",
"playwright": "^1.62.0",
"prettier": "^3.9.4",
"react": "^18",
"react-dom": "^19",
"release-it": "^21.0.0",
"release-it-pnpm": "^4.6.6",
"tailwindcss": "^4.3.2",
"typescript": "^5.9.3",
"vitest": "^4.1.10",
"vue-tsc": "^3.3.7"
},
"name": "coach",
"engines": {
"node": ">=24.11.0 <25.0.0"
},
"private": true,
"scripts": {
"backfill:provider-subscriptions": "tsx scripts/backfill-provider-subscriptions.ts",
"backfill-scores": "tsx scripts/backfill-scores.ts",
"test": "vitest",
"test:unit": "vitest run",
"test:mcp": "vitest run --config vitest.mcp.config.ts",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:report": "playwright show-report",
"test:lighthouse": "gtimeout 180s lhci autorun || timeout 180s lhci autorun || lhci autorun",
"e2e:lighthouse": "gtimeout 180s lhci autorun || timeout 180s lhci autorun || lhci autorun",
"e2e:lighthouse:verbose": "gtimeout 180s lhci autorun --log-level=verbose || timeout 180s lhci autorun --log-level=verbose || lhci autorun --log-level=verbose",
"e2e:lighthouse:dev": "E2E_BASE_URL=http://localhost:3000 gtimeout 180s lhci autorun || E2E_BASE_URL=http://localhost:3000 lhci autorun",
"e2e:up": "docker compose --env-file .env.e2e -p ${E2E_PROJECT:-coach-e2e} -f docker-compose.e2e.yml up -d --wait",
"e2e:up:infra": "docker compose --env-file .env.e2e -p ${E2E_PROJECT:-coach-e2e} -f docker-compose.e2e.yml up -d --wait postgres-e2e redis-e2e",
"e2e:down": "docker compose --env-file .env.e2e -p ${E2E_PROJECT:-coach-e2e} -f docker-compose.e2e.yml down",
"e2e:down:wipe": "docker compose --env-file .env.e2e -p ${E2E_PROJECT:-coach-e2e} -f docker-compose.e2e.yml down -v",
"e2e:build": "docker compose --env-file .env.e2e -p ${E2E_PROJECT:-coach-e2e} -f docker-compose.e2e.yml build app-e2e",
"e2e:db:up": "pnpm e2e:up:infra",
"e2e:db:down": "pnpm e2e:down",
"e2e:db:prepare": "tsx e2e/scripts/prepare-db.ts",
"e2e:reset": "tsx e2e/scripts/prepare-db.ts",
"e2e:app:host": "tsx e2e/scripts/run-app-host.ts",
"e2e:setup": "bash ./scripts/e2e-setup.sh",
"e2e:sync": "bash e2e/scripts/sync-to-mini.sh",
"e2e:checkout": "bash e2e/scripts/checkout-on-mini.sh",
"e2e:remote": "bash e2e/scripts/run-on-mini.sh",
"e2e:remote:branch": "bash e2e/scripts/run-on-mini-branch.sh",
"e2e:remote:up": "bash e2e/scripts/remote-up.sh",
"e2e:remote:ui": "bash e2e/scripts/ui-remote.sh",
"e2e:tunnel": "bash e2e/scripts/tunnel-to-mini.sh",
"e2e:tunnel:stop": "bash e2e/scripts/tunnel-to-mini.sh stop",
"build": "prisma generate && nuxt build",
"dev": "NODE_OPTIONS='--max-old-space-size=8192' nuxt dev",
"dev:worker": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=8192' tsx watch cli/worker/index.ts start",
"dev:trigger": "pnpm prisma:generate && npx trigger.dev@latest dev",
"generate": "nuxt generate",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "NODE_OPTIONS='--max-old-space-size=8192' nuxt typecheck --checker=vue-tsc",
"typecheck:prepare": "nuxt prepare",
"typecheck:fast": "NODE_OPTIONS='--max-old-space-size=8192' vue-tsc -b --noEmit",
"typecheck:app": "NODE_OPTIONS='--max-old-space-size=8192' vue-tsc -p .nuxt/tsconfig.app.json --noEmit",
"typecheck:server": "NODE_OPTIONS='--max-old-space-size=8192' tsc -p .nuxt/tsconfig.server.json --noEmit",
"typecheck:watch": "NODE_OPTIONS='--max-old-space-size=8192' vue-tsc -b --noEmit --watch",
"typecheck:diagnostics": "NODE_OPTIONS='--max-old-space-size=8192' vue-tsc -b --noEmit --extendedDiagnostics",
"format": "prettier --write .",
"postinstall": "prisma generate",
"preview": "nuxt preview",
"prisma:generate": "prisma generate",
"release": "release-it",
"release:patch": "release-it patch",
"release:minor": "release-it minor",
"release:major": "release-it major",
"cli": "tsx ./cli/index.ts",
"cw:cli": "tsx cli/index.ts",
"cw:cli:chatroom": "tsx cli/index.ts debug chatroom",
"cw:cli:nutrition:day-log": "tsx cli/index.ts nutrition day-log",
"cw:cli:nutrition:review-glycogen": "tsx cli/index.ts nutrition review-glycogen",
"cw:cli:nutrition:debug": "tsx cli/index.ts nutrition debug-metabolic",
"cw:cli:nutrition:metabolic": "tsx cli/index.ts nutrition metabolic",
"cw:cli:fueling:debug": "tsx cli/index.ts nutrition chain",
"cw:cli:fueling:workout": "tsx cli/index.ts nutrition fueling-workout",
"cw:cli:fueling:compare": "tsx cli/index.ts nutrition compare-fueling",
"cw:worker": "NODE_OPTIONS='--max-old-space-size=8192' tsx cli/worker/index.ts",
"db:deploy": "prisma migrate deploy",
"db:dump": "scripts/dump-db.sh",
"db:dump:prod": "scripts/dump-db.sh DATABASE_URL_PROD",
"prepare": "husky || true",
"i18n:pull": "node -e \"require('dotenv').config(); require('child_process').spawn('tolgee', ['pull', '--api-url', process.env.TOLGEE_API_URL], { stdio: 'inherit', shell: true })\"",
"i18n:push": "node -e \"require('dotenv').config(); require('child_process').spawn('tolgee', ['push', '--api-url', process.env.TOLGEE_API_URL], { stdio: 'inherit', shell: true })\""
},
"type": "module",
"version": "0.5.25",
"onlyBuiltDependencies": [
"@parcel/watcher",
"@prisma/client",
"@prisma/engines",
"@sentry/cli",
"bcrypt",
"better-sqlite3",
"esbuild",
"msgpackr-extract",
"prisma",
"unrs-resolver"
],
"overrides": {
"ai": "$ai",
"@vercel/nft": "^0.27.4",
"@vueuse/core": "^14.3.0",
"@vueuse/shared": "^14.3.0"
},
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx,vue}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,css,html,yml,yaml}": [
"prettier --write"
]
},
"packageManager": "pnpm@11.17.0"
}