Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 2.4 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
{
"name": "typecho-workers",
"type": "module",
"version": "0.1.0",
"description": "Typecho blog rewrite with Astro + Cloudflare Workers + D1",
"exports": {
"./plugin-sdk": "./src/lib/plugin-sdk.ts",
"./db": "./src/db/index.ts"
},
"workspaces": [
"src/plugins/*",
"src/themes/*"
],
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "astro dev --force",
"build": "astro build",
"generate:cloudflare-config": "bun run scripts/generate-wrangler-config.ts",
"patch:deploy-wrangler": "bun run scripts/patch-deploy-wrangler.ts",
"build:cloudflare": "bun run generate:cloudflare-config && astro build && bun run patch:deploy-wrangler",
"deploy": "bun run build && bun run patch:deploy-wrangler && wrangler deploy --config dist/server/wrangler.json",
"deploy:cloudflare-build": "wrangler deploy --config dist/server/wrangler.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"db:generate": "drizzle-kit generate",
"db:studio": "drizzle-kit studio",
"db:migrate:typecho": "bun run scripts/migrate.ts",
"db:migrate:wordpress": "bun run scripts/migrate-wordpress.ts",
"reset-password": "bun run scripts/reset-password.ts --target local",
"reset-password:cloudflare": "bun run scripts/reset-password.ts --target cloudflare",
"perf:metrics": "bun run scripts/analyze-metrics.ts",
"perf:usage": "bun run scripts/analyze-usage.ts",
"perf:warm": "bun run scripts/warm-cache.ts",
"perf:baseline": "bun run scripts/capture-baseline.ts"
},
"dependencies": {
"@astrojs/cloudflare": "^14.1.5",
"@simplewebauthn/server": "^14.0.1",
"astro": "^7.1.4",
"drizzle-orm": "^0.45.2",
"marked": "^18.0.7",
"sanitize-html": "^2.17.6",
"tslib": "^2.8.1",
"typecho-plugin-antispam": "workspace:*",
"typecho-plugin-cache": "workspace:*",
"typecho-plugin-notes": "workspace:*",
"typecho-plugin-notifier": "workspace:*",
"typecho-plugin-intelligence": "workspace:*",
"typecho-plugin-turnstile": "workspace:*",
"typecho-theme-warm": "workspace:*"
},
"devDependencies": {
"@libsql/client": "^0.17.4",
"@types/sanitize-html": "^2.16.1",
"@vitest/coverage-v8": "^4.1.10",
"drizzle-kit": "^0.31.10",
"esbuild": "^0.28.1",
"fast-xml-parser": "^5.10.1",
"typescript": "^7.0.2",
"vitest": "^4.1.10",
"wrangler": "^4.114.0"
}
}