-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.73 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
{
"name": "notion-gtasks-worker",
"version": "0.0.0",
"private": true,
"scripts": {
"deploy": "vitest --run && rm -rf ./dist && wrangler deploy --dry-run --outdir ./dist && pnpm run sentry-sourcemap && wrangler deploy ./dist/index.js --no-bundle",
"start": "wrangler dev --port 3000",
"dev": "wrangler dev --port 3000",
"dev-cron": "wrangler dev --test-scheduled --port 3000",
"sentry-sourcemap": "sentry-cli sourcemaps inject ./dist && sentry-cli sourcemaps upload ./dist --project=notion-gtasks-worker-cron",
"dryrun": "rm -rf ./dist && wrangler deploy --dry-run --outdir ./dist",
"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:count": "wrangler d1 execute notion-gtasks --command='SELECT COUNT(*) FROM users'",
"test": "vitest",
"tail": "wrangler tail"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230419.0",
"@sentry/cli": "^2.28.0",
"drizzle-kit": "^0.20.10",
"typescript": "^5.0.4",
"vite": "^5.0.12",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.1.3",
"wrangler": "^3.24.0"
},
"dependencies": {
"@notionhq/client": "^2.2.13",
"drizzle-orm": "^0.29.0",
"toucan-js": "^3.3.1",
"zod": "^3.22.4"
}
}