-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 2.86 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
{
"name": "notion-gtasks",
"type": "module",
"version": "0.0.1",
"private": true,
"scripts": {
"astro": "astro",
"dev": "astro dev --port 3000",
"functions:dev": "astro build && wrangler pages dev ./dist --port=3000 --d1=DB --compatibility-flags=nodejs_compat",
"build": "astro check && astro build",
"sentry:ui": "sentry-cli sourcemaps inject ./dist && sentry-cli sourcemaps upload ./dist --project=notion-gtasks-website-ui",
"deploy": "PUBLIC_ENV=production pnpm run build && wrangler pages deploy ./dist",
"deploy:prod": "PUBLIC_ENV=production pnpm run build && pnpm run sentry:ui && wrangler pages deploy ./dist --branch=master",
"_functions:build": "wrangler pages functions build ./functions --compatibility-flags=nodejs_compat",
"wrangler": "wrangler",
"db:migr:gen": "drizzle-kit generate:sqlite",
"db:migr:drop": "drizzle-kit drop",
"db:migr:check": "drizzle-kit check:sqlite",
"db:drizzle-metadata-upgrade": "drizzle-kit up:sqlite",
"db:local": "wrangler d1 execute notion-gtasks --local",
"db:local:all": "wrangler d1 execute notion-gtasks --local --command='SELECT * FROM users'",
"db:prod": "wrangler d1 execute notion-gtasks",
"db:prod:all": "wrangler d1 execute notion-gtasks --command='SELECT * FROM users'",
"db:prod:active-count": "wrangler d1 execute notion-gtasks --command='SELECT COUNT(*) FROM users WHERE sync_error IS NULL AND last_synced IS NOT NULL'",
"db:prod:failed-sync": "wrangler d1 execute notion-gtasks --command='SELECT COUNT(*) FROM users WHERE sync_error IS NOT NULL AND last_synced IS NOT NULL'",
"upgrade": "pnpx npm-upgrade",
"tail": "wrangler pages deployment tail"
},
"dependencies": {
"@astrojs/check": "^0.5.4",
"@astrojs/react": "^3.0.10",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/ts-plugin": "^1.5.2",
"@cloudflare/pages-plugin-sentry": "^1.1.1",
"@notionhq/client": "^2.2.13",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@sentry/browser": "^7.100.1",
"@tanstack/react-query": "^5.8.4",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"astro": "^4.4.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"drizzle-orm": "^0.29.0",
"lucide-react": "^0.312.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sharp": "^0.33.2",
"tailwind-merge": "^2.2.0",
"tailwindcss": "^3.3.5",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.2.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231025.0",
"@iconify/react": "^4.1.1",
"@sentry/cli": "^2.28.0",
"@tsndr/cloudflare-worker-jwt": "^2.3.2",
"drizzle-kit": "^0.20.4",
"prettier": "^3.2.4",
"prettier-plugin-astro": "^0.12.3",
"prettier-plugin-sql": "^0.18.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"wrangler": "^3.16.0"
}
}