-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 3.43 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
{
"name": "flashinbox",
"version": "0.1.0",
"private": true,
"scripts": {
"prepare:wrangler:main": "bun scripts/prepare-wrangler-config.ts main",
"prepare:wrangler:email": "bun scripts/prepare-wrangler-config.ts email",
"prepare:wrangler:scheduled": "bun scripts/prepare-wrangler-config.ts scheduled",
"prepare:wrangler:production": "bun run prepare:wrangler:main",
"prepare:next-dev": "bun scripts/prepare-next-dev.ts",
"prepare:local-db": "bun scripts/prepare-local-sqlite.ts",
"dev": "bun scripts/dev-next.ts",
"build:webpack": "next build --webpack",
"build:worker": "bun run prepare:wrangler:main && bun run build:webpack && bunx opennextjs-cloudflare build --skipNextBuild",
"check:production-d1": "bun run prepare:wrangler:main && bunx wrangler d1 execute flashinbox-db --remote --config .tmp/wrangler.main.toml --env production --command \"SELECT can_receive, can_send, send_allowed_from_names FROM domains LIMIT 0; SELECT can_receive, can_send FROM mailboxes LIMIT 0; SELECT direction, send_status, send_error, sent_at, queued_at, cc_addr, bcc_addr, reply_to_addr, thread_id, editor_meta FROM messages LIMIT 0; SELECT direction FROM rules LIMIT 0; SELECT id FROM outbound_attachments LIMIT 0; SELECT id FROM send_events LIMIT 0\"",
"dev:wrangler": "bunx wrangler dev --config wrangler.toml",
"dev:all": "concurrently \"bun run dev\" \"bun run dev:wrangler\"",
"d1:sync-local": "bun scripts/sync-d1-to-local.ts",
"build": "next build",
"start": "next start",
"lint": "eslint . --ext .ts,.tsx",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"test": "bun test",
"test:unit": "bun test tests/unit",
"test:integration": "bun test tests/integration",
"deploy:main": "bun run check:production-d1 && bun run build:worker && bunx wrangler deploy --config .tmp/wrangler.main.toml --env production",
"deploy:email": "bun run prepare:wrangler:email && bunx wrangler deploy --config .tmp/wrangler.email.toml",
"deploy:scheduled": "bun run prepare:wrangler:scheduled && bunx wrangler deploy --config .tmp/wrangler.scheduled.toml",
"deploy": "bun run prepare:wrangler:email && bun run prepare:wrangler:scheduled && bun run deploy:main && bun run deploy:email && bun run deploy:scheduled"
},
"dependencies": {
"@cloudflare/next-on-pages": "^1.13.16",
"@iconify/react": "^6.0.2",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-react": "^1.0.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"isomorphic-dompurify": "^2.35.0",
"katex": "^0.16.22",
"lucide-react": "^0.562.0",
"mdui": "^2.1.4",
"next": "16.1.4",
"markdown-it": "^14.1.1",
"postal-mime": "^2.7.3",
"react": "19.2.3",
"react-dom": "19.2.3",
"turndown": "^7.2.4",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260120.0",
"@opennextjs/cloudflare": "^1.14.10",
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/markdown-it": "^14.1.2",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/turndown": "^5.0.5",
"bun-types": "^1.3.6",
"concurrently": "^9.2.1",
"eslint": "^9",
"eslint-config-next": "16.1.4",
"prettier": "^3.8.0",
"tailwindcss": "^4",
"typescript": "^5",
"wrangler": "^4.59.3"
},
"ignoreScripts": [
"sharp",
"unrs-resolver"
],
"trustedDependencies": [
"sharp",
"unrs-resolver"
]
}