-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.83 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.83 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
{
"name": "TimorUp",
"version": "1.0.0",
"description": "Business Directory Platform for Timor-Leste",
"type": "module",
"scripts": {
"dev": "wrangler types && astro dev",
"dev:local": "wrangler types && astro build && wrangler dev --local --port 8787",
"build": "wrangler types && astro build && cp public/_routes.json dist/_routes.json",
"preview": "wrangler types && astro preview",
"preview:cf": "wrangler dev ./dist",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:all": "pnpm test && pnpm test:e2e",
"test:kuri": "kuri screenshot http://localhost:8787",
"test:kuri:compare": "kuri compare --baseline ./test-results/baseline --current ./test-results/current",
"test:quick": "playwright-cli open http://localhost:8787",
"test:agent": "browser-use --url http://localhost:8787 --task \"navigate and verify page loads correctly\"",
"db:generate": "drizzle-kit generate",
"db:push": "drizzle-kit push",
"db:push:remote": "drizzle-kit push --remote",
"db:studio": "drizzle-kit studio",
"db:setup-local": "wrangler d1 execute TimorUp-db --remote --command \"SELECT sql FROM sqlite_master WHERE type='table' AND sql IS NOT NULL AND name NOT LIKE '_cf_%'\" --json 2>/dev/null | wrangler d1 execute TimorUp-db --local --file=/dev/stdin --persist-to=.wrangler/state || echo 'Setup local D1 from remote schema'",
"db:seed": "node scripts/generate-seed.js > src/db/seed.sql && wrangler d1 execute TimorUp-db --remote --file=src/db/seed.sql && rm src/db/seed.sql",
"db:seed:dry": "node scripts/generate-seed.js",
"deploy": "echo '�?Deploy is CI/CD only. Use: git push' && exit 1",
"deploy:dry": "USE_CLOUDFLARE=1 wrangler deploy --dry-run",
"wrangler": "wrangler",
"prepare": "husky"
},
"dependencies": {
"@astrojs/cloudflare": "^13.5.2",
"@astrojs/sitemap": "^3.7.2",
"@better-auth/drizzle-adapter": "^1.6.11",
"@ffmpeg/ffmpeg": "^0.12.15",
"@ffmpeg/util": "^0.12.2",
"@fontsource/inter": "^5.2.8",
"@fontsource/oswald": "^5.2.8",
"@libsql/client": "^0.17.3",
"@libsql/isomorphic-fetch": "^0.3.1",
"@lucide/astro": "^1.14.0",
"@mastra/core": "^1.32.1",
"@mastra/deployer-cloudflare": "^1.1.32",
"@tailwindcss/vite": "^4.3.0",
"@tiptap/core": "^3.23.5",
"@tiptap/extension-link": "^3.23.5",
"@tiptap/extension-placeholder": "^3.23.5",
"@tiptap/extension-underline": "^3.23.5",
"@tiptap/pm": "^3.23.5",
"@tiptap/starter-kit": "^3.23.5",
"@types/leaflet": "^1.9.21",
"astro": "^6.3.5",
"bcryptjs": "^3.0.3",
"better-auth": "^1.6.11",
"better-auth-cloudflare": "^0.3.0",
"browser-image-compression": "^2.0.2",
"clsx": "^2.1.1",
"drizzle-orm": "^0.45.2",
"leaflet": "^1.9.4",
"motion": "^12.38.0",
"nanoid": "^5.1.9",
"nanostores": "^1.3.0",
"node-fetch": "3",
"sharp": "^0.34.5",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.3.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@astrojs/compiler-rs": "^0.1.10",
"@cloudflare/workers-types": "^4.20260518.1",
"@noble/hashes": "^2.2.0",
"@playwright/test": "^1.60.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@types/bcryptjs": "^3.0.0",
"@vitest/coverage-istanbul": "^4.1.5",
"@vitest/coverage-v8": "^4.1.5",
"@vitest/ui": "^4.1.5",
"better-sqlite3": "^12.9.0",
"drizzle-kit": "^0.31.10",
"husky": "^9.1.7",
"jsdom": "^29.1.0",
"miniflare": "^4.20260426.0",
"playwright": "^1.60.0",
"typescript": "^6.0.3",
"unenv": "^1.10.0",
"vitest": "^4.1.5",
"wrangler": "^4.90.1"
},
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@9.15.0"
}