-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 1.85 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
{
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"server": "npx wrangler pages dev --port 3001 --proxy 3000 -- npm run dev",
"server-dev": "npx wrangler pages dev --port 3001 --proxy 3000 --d1 DB_VAR=334d4f76-a590-47bc-8eb6-b013948ab8a4 -- npm run dev",
"preview": "wrangler pages dev dist",
"deploy": "$npm_execpath run build && wrangler pages deploy dist",
"generate": "drizzle-kit generate:sqlite --schema=functions/api/schema.ts",
"up": "drizzle-kit up:sqlite",
"build-deploy": "npm run build && drizzle-kit generate:sqlite --schema=functions/api/schema.ts --out=./migrations",
"build-migration": "npm run build && drizzle-kit generate:sqlite --schema=functions/api/schema.ts --out=./migrations && wrangler d1 migrations apply delta_db",
"db:studio:local": "powershell -ExecutionPolicy Bypass -File start-studio.ps1",
"db:studio:prod": "drizzle-kit studio",
"print-db-path": "powershell -ExecutionPolicy Bypass -File print-db-path.ps1"
},
"dependencies": {
"@hono/zod-validator": "^0.2.0",
"@lucia-auth/adapter-drizzle": "^1.0.7",
"@tanstack/react-router": "^1.19.13",
"@tanstack/router-devtools": "^1.19.13",
"@vitejs/plugin-react": "^4.2.1",
"better-sqlite3": "^9.4.3",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.30.4",
"hono": "^4.1.0",
"lucia": "^3.1.1",
"oslo": "^1.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240208.0",
"@hono/vite-cloudflare-pages": "^0.2.4",
"@hono/vite-dev-server": "^0.9.0",
"@tanstack/router-vite-plugin": "^1.19.6",
"@types/node": "^20.11.27",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.22",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.20.14",
"vite": "^5.0.12",
"wrangler": "^3.32.0"
}
}