mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
Switch frontend server to Nuxt
This commit is contained in:
parent
9476770cdb
commit
dc17cffd75
24 changed files with 921 additions and 22 deletions
13
package.json
13
package.json
|
|
@ -32,11 +32,14 @@
|
|||
"dev": "bun run --watch index.ts",
|
||||
"vite:dev": "bunx --bun vite pages",
|
||||
"vite:build": "bunx --bun vite build pages",
|
||||
"start": "NODE_ENV=production bun run dist/index.js --prod",
|
||||
"fe:dev": "bun --bun nuxt dev packages/frontend",
|
||||
"fe:build": "bun --bun nuxt build packages/frontend",
|
||||
"fe:analyze": "bun --bun nuxt analyze packages/frontend",
|
||||
"start": "NITRO_PORT=5173 bun run dist/frontend/server/index.mjs & NODE_ENV=production bun run dist/index.js --prod",
|
||||
"migrate-dev": "bun prisma migrate dev",
|
||||
"migrate": "bun prisma migrate deploy",
|
||||
"lint": "bunx --bun eslint --config .eslintrc.cjs --ext .ts .",
|
||||
"prod-build": "bunx --bun vite build pages && bun run build.ts",
|
||||
"prod-build": "bun run build.ts",
|
||||
"prisma": "DATABASE_URL=$(bun run prisma.ts) bunx prisma",
|
||||
"generate": "bun prisma generate",
|
||||
"benchmark:timeline": "bun run benchmarks/timelines.ts",
|
||||
|
|
@ -48,13 +51,17 @@
|
|||
"@prisma/client",
|
||||
"@prisma/engines",
|
||||
"esbuild",
|
||||
"msgpackr-extract",
|
||||
"nuxt-app",
|
||||
"prisma",
|
||||
"sharp",
|
||||
"msgpackr-extract"
|
||||
"vue-demi"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.6.4",
|
||||
"@julr/unocss-preset-forms": "^0.1.0",
|
||||
"@nuxtjs/seo": "^2.0.0-rc.10",
|
||||
"@nuxtjs/tailwindcss": "^6.11.4",
|
||||
"@types/cli-table": "^0.3.4",
|
||||
"@types/html-to-text": "^9.0.4",
|
||||
"@types/ioredis": "^5.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue