-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
245 lines (245 loc) · 11.4 KB
/
package.json
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
{
"name": "capgo-app",
"type": "module",
"version": "11.7.43",
"private": true,
"scripts": {
"env:hard-setup": "supabase stop && supabase start && supabase db reset",
"build": "vite build",
"preview": "vite preview",
"preview-https": "serve dist",
"mobile": "vite build --mode mobile && cap copy",
"capacitor-assets": "bunx @capacitor/assets generate --assetPath assets --iconBackgroundColor '#111827' --iconBackgroundColorDark '#111827' --splashBackgroundColor '#111827' --splashBackgroundColorDark '#111827' --logoSplashScale 0.3",
"resources": "cordova-res --skip-config --copy --icon-background-source '#ffffff'",
"sync": "cap sync",
"sync:ios": "cap sync ios",
"sync:android": "cap sync android",
"serve": "vite",
"prebuild-serve-dev": "ENV=local vite build --sourcemap true --minify false --assetsDir . && http-server ./dist -p 5173",
"serve-dev": "ENV=local vite",
"backend": "supabase start && supabase functions serve",
"reset": "supabase db reset",
"dev-back": "wrangler dev cloudflare_workers/index.ts",
"netlify:dev": "bunx netlify dev --port 8881",
"test:front": "playwright test",
"test:all": "vitest --bail=1 --mode=test tests/*",
"test:all:local": "LOCAL_CLI_PATH=true vitest --bail=1 --mode=test tests/*",
"test:backend": "vitest --bail=1 --mode=test --exclude=tests/cli*",
"test:cli": "vitest --bail=1 --mode=test tests/cli*",
"test:cli:local": "LOCAL_CLI_PATH=true vitest --bail=1 --mode=test tests/cli*",
"dev-mobile": "BRANCH=development vite build --mode mobile && cap copy",
"dev-build": "BRANCH=development vite build",
"dev-serve": "BRANCH=development vite",
"preprod-serve": "BRANCH=preprod vite",
"dev-ios": "cap sync && cap run ios",
"local-serve": "BRANCH=local vite",
"lint": "eslint \"src/**/*.{vue,ts,js}\"",
"lint-fix": "eslint \"src/**/*.{vue,ts,js}\" --fix",
"lint-backend": "eslint \"supabase/**/*.{vue,ts,js}\"",
"lint-sql": "sqlfluff fix --dialect postgres",
"types": "bun ./scripts/getTypes.mjs",
"dev-types": "BRANCH=development bun ./scripts/getTypes.mjs",
"typecheck": "vue-tsc --noEmit",
"ionic:build": "vite build",
"ionic:serve": "vite",
"cf-build": "wrangler publish --dry-run --outdir=dist_cf",
"create-sentry-release": "npm run sentry-cli releases new \"1.0.0\" --finalize && npm run sentry-cli releases files \"1.0.0\" upload-sourcemaps ./dist_cf",
"cf-edge:run": "./scripts/local_cf_backend/spawn.sh",
"deploy:cloudflare_frontend:prod": "wrangler pages deploy dist --project-name capgo-webapp --branch main",
"deploy:cloudflare_frontend:preprod": "wrangler pages deploy dist --project-name capgo-webapp-preprod --branch main",
"deploy:cloudflare_frontend:alpha": "wrangler pages deploy dist --project-name capgo-webapp-alpha --branch main",
"deploy:cloudflare:prod": "npm run deploy:cloudflare:api:prod && npm run deploy:cloudflare:files:prod && npm run deploy:cloudflare:plugin:prod",
"deploy:cloudflare:api:prod": "bunx wrangler deploy --config cloudflare_workers/api/wrangler.toml",
"deploy:cloudflare:files:prod": "bunx wrangler deploy --config cloudflare_workers/files/wrangler.toml",
"deploy:cloudflare:plugin:prod": "bunx wrangler deploy --config cloudflare_workers/plugin/wrangler.toml",
"deploy:cloudflare:preprod": "npm run deploy:cloudflare:api:preprod && npm run deploy:cloudflare:files:preprod && npm run deploy:cloudflare:plugin:preprod",
"deploy:cloudflare:api:preprod": "bunx wrangler deploy --config cloudflare_workers/api/wrangler.toml --env=preprod",
"deploy:cloudflare:files:preprod": "bunx wrangler deploy --config cloudflare_workers/files/wrangler.toml --env=preprod",
"deploy:cloudflare:plugin:preprod": "bunx wrangler deploy --config cloudflare_workers/plugin/wrangler.toml --env=preprod",
"deploy:cloudflare:api:alpha": "bunx wrangler deploy --config cloudflare_workers/api/wrangler.toml --env=alpha",
"deploy:cloudflare:files:alpha": "bunx wrangler deploy --config cloudflare_workers/files/wrangler.toml --env=alpha",
"deploy:cloudflare:plugin:alpha": "bunx wrangler deploy --config cloudflare_workers/plugin/wrangler.toml --env=alpha",
"deploy:cloudflare_env:api:prod": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.prod capgo_api-prod",
"deploy:cloudflare_env:api:preprod": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.preprod capgo_api-preprod",
"deploy:cloudflare_env:api:alpha": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.alpha capgo_api-alpha",
"deploy:cloudflare_env:files:prod": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.prod capgo_files-prod",
"deploy:cloudflare_env:files:preprod": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.preprod capgo_files-preprod",
"deploy:cloudflare_env:files:alpha": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.alpha capgo_files-alpha",
"deploy:cloudflare_env:plugin:prod": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.prod capgo_plugin-prod",
"deploy:cloudflare_env:plugin:preprod": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.preprod capgo_plugin-preprod",
"deploy:cloudflare_env:plugin:alpha": "node scripts/deploy_cf_backend_env.mjs internal/cloudflare/.env.alpha capgo_plugin-alpha",
"deploy:supabase:prod": "bunx supabase functions deploy",
"deploy:supabase:preprod": "bunx supabase functions deploy",
"deploy:supabase_env:prod": "bunx supabase secrets set --project-ref xvwzpoazmxkqosrdewyv --env-file internal/cloudflare/.env.prod",
"deploy:supabase_env:preprod": "bunx supabase secrets set --project-ref aucsybvnhavogdmzwtcw --env-file internal/cloudflare/.env.preprod",
"deploy:supabase_env:alpha": "bunx supabase secrets set --project-ref aucsybvnhavogdmzwtcw --env-file internal/cloudflare/.env.alpha",
"deploy:netlify_env:prod": "bunx netlify env:import -r internal/cloudflare/.env.prod",
"deploy:netlify_env:preprod": "bunx netlify env:import -r internal/cloudflare/.env.preprod",
"size": "bunx vite-bundle-visualizer"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.717.0",
"@aws-sdk/s3-request-presigner": "^3.717.0",
"@capacitor-community/in-app-review": "^6.0.0",
"@capacitor-community/keep-awake": "^5.0.1",
"@capacitor/action-sheet": "^6.0.3",
"@capacitor/android": "^6.2.0",
"@capacitor/app": "^6.0.2",
"@capacitor/app-launcher": "^6.0.3",
"@capacitor/browser": "^6.0.4",
"@capacitor/camera": "^6.1.2",
"@capacitor/clipboard": "^6.0.2",
"@capacitor/device": "^6.0.2",
"@capacitor/dialog": "^6.0.2",
"@capacitor/filesystem": "6.0.2",
"@capacitor/geolocation": "^6.1.0",
"@capacitor/haptics": "^6.0.2",
"@capacitor/ios": "^6.2.0",
"@capacitor/keyboard": "^6.0.3",
"@capacitor/local-notifications": "^6.1.1",
"@capacitor/motion": "^6.0.1",
"@capacitor/network": "^6.0.3",
"@capacitor/preferences": "^6.0.3",
"@capacitor/push-notifications": "^6.0.3",
"@capacitor/screen-reader": "^6.0.3",
"@capacitor/share": "^6.0.3",
"@capacitor/splash-screen": "^6.0.3",
"@capacitor/status-bar": "^6.0.2",
"@capacitor/text-zoom": "^6.0.3",
"@capacitor/toast": "^6.0.3",
"@capawesome/capacitor-file-picker": "^6.2.0",
"@capawesome/capacitor-screen-orientation": "^6.0.1",
"@capgo/capacitor-crisp": "^6.0.63",
"@capgo/capacitor-flash": "^6.0.7",
"@capgo/capacitor-mute": "^6.0.3",
"@capgo/capacitor-native-biometric": "^6.0.4",
"@capgo/capacitor-screen-recorder": "8.1.94",
"@capgo/capacitor-updater": "^6.7.7-alpha.2",
"@capgo/google-play-scraper": "^9.1.2",
"@capgo/inappbrowser": "^6.9.28",
"@capgo/native-audio": "^6.4.23",
"@capgo/native-market": "^6.0.2",
"@elithrar/workers-hono-rate-limit": "^0.4.3",
"@formkit/auto-animate": "1.0.0-pre-alpha.3",
"@formkit/i18n": "^1.6.9",
"@formkit/themes": "1.6.9",
"@formkit/vue": "1.6.9",
"@hono/hono": "npm:@jsr/[email protected]",
"@hono/sentry": "^1.2.0",
"@iconify-json/simple-icons": "^1.2.17",
"@intlify/unplugin-vue-i18n": "^6.0.2",
"@logsnag/node": "1.0.1",
"@netlify/functions": "^2.8.2",
"@revenuecat/purchases-capacitor": "9.0.9",
"@sentry/cli": "^2.39.1",
"@std/assert": "npm:@jsr/[email protected]",
"@std/semver": "npm:@jsr/[email protected]",
"@supabase/supabase-js": "2.47.10",
"@tailwindcss/forms": "^0.5.9",
"@vuepic/vue-datepicker": "^10.0.0",
"@vueuse/components": "^12.2.0",
"@vueuse/core": "12.2.0",
"base64-arraybuffer": "1.0.2",
"bun-types": "^1.1.42",
"capacitor-secure-storage-plugin": "^0.10.0",
"chart.js": "^4.4.7",
"country-code-to-flag-emoji": "^1.3.3",
"cron-schedule": "^5.0.4",
"crypto-random-string": "^5.0.0",
"d3": "^7.9.0",
"daisyui": "^4.12.20",
"dayjs": "1.11.13",
"dompurify": "^3.2.3",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.38.2",
"envfile": "^7.1.0",
"firebase": "11.1.0",
"google-play-scraper": "^10.0.1",
"jsdom": "^25.0.1",
"svg-path-properties": "^1.3.0",
"ky": "^1.7.4",
"mime": "^4.0.6",
"petite-vue-i18n": "^11.0.0",
"pinia": "2.3.0",
"plausible-tracker": "^0.3.9",
"postgres": "^3.4.5",
"posthog-js": "^1.203.1",
"stripe": "^17.5.0",
"tailwind-capacitor": "^1.0.8",
"unplugin-auto-import": "^0.19.0",
"unplugin-formkit": "^0.3.0",
"unplugin-vue-macros": "^2.13.6",
"unplugin-vue-router": "^0.10.9",
"vite-plugin-vue-devtools": "^7.6.8",
"vite-plugin-webfont-dl": "^3.10.3",
"vue": "3.5.13",
"vue-chartjs": "^5.3.2",
"vue-demi": "0.14.10",
"vue-i18n": "10.0.5",
"vue-router": "4.5.0",
"vue-sonner": "^1.3.0",
"vue-turnstile": "^1.0.11",
"zod": "^3.24.1"
},
"devDependencies": {
"@antfu/eslint-config": "3.12.1",
"@capacitor/cli": "^6.2.0",
"@capacitor/core": "^6.2.0",
"@cloudflare/workers-types": "4.20241218.0",
"@iconify-json/carbon": "1.2.5",
"@iconify-json/heroicons": "^1.2.2",
"@iconify-json/ion": "1.2.2",
"@iconify-json/ls": "1.2.1",
"@iconify/json": "^2.2.288",
"@playwright/test": "1.49.1",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.15",
"@types/adm-zip": "^0.5.7",
"@types/dompurify": "3.2.0",
"@vitejs/plugin-vue": "5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vue/cli-service": "5.0.8",
"@vue/compiler-sfc": "3.5.13",
"@vue/server-renderer": "3.5.13",
"adm-zip": "^0.5.16",
"autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"eslint": "9.17.0",
"http-server": "^14.1.1",
"https-localhost": "4.7.1",
"husky": "^9.1.7",
"miniflare": "^3.20241218.0",
"postcss": "^8.4.49",
"sass": "1.83.0",
"tailwindcss": "^3.4.17",
"typescript": "5.7.2",
"unplugin-icons": "0.22.0",
"unplugin-vue-components": "^0.28.0",
"vite": "6.0.5",
"vite-plugin-environment": "1.1.3",
"vite-plugin-inspect": "^0.10.6",
"vite-plugin-pwa": "0.21.1",
"vite-plugin-vue-layouts": "0.11.0",
"vitest": "2.1.8",
"vue-tsc": "2.2.0",
"wrangler": "^3.99.0"
},
"husky": {
"hooks": {
"pre-commit": "bun run lint"
}
},
"gitmoji": {
"autoAdd": false,
"emojiFormat": "emoji",
"scopePrompt": true,
"messagePrompt": true,
"capitalizeTitle": true,
"gitmojisUrl": "https://gitmoji.dev/api/gitmojis"
},
"trustedDependencies": [
"@sentry/cli",
"core-js"
]
}