clean up build script
This commit is contained in:
@@ -45,7 +45,7 @@ pnpm dev
|
||||
## Common scripts
|
||||
|
||||
- `pnpm dev`: start the vinext development server
|
||||
- `pnpm build`: create the production bundle with vinext
|
||||
- `pnpm build`: create the Cloudflare-targeted production bundle with Vite
|
||||
- `pnpm start`: run the built app locally
|
||||
- `pnpm deploy`: build and deploy to Cloudflare Workers
|
||||
- `pnpm deploy:dry-run`: build the deploy artifact without publishing it
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vinext dev -H 0.0.0.0",
|
||||
"build": "vinext build",
|
||||
"build": "vite build",
|
||||
"start": "vinext start",
|
||||
"deploy": "vinext deploy",
|
||||
"deploy:dry-run": "vinext deploy --dry-run",
|
||||
@@ -21,8 +21,7 @@
|
||||
"db:push": "prisma db push",
|
||||
"db:studio": "prisma studio",
|
||||
"postinstall": "prisma generate",
|
||||
"dev:vinext": "vite dev --port 3001",
|
||||
"build:vinext": "vite build"
|
||||
"dev:vinext": "vite dev --port 3001"
|
||||
},
|
||||
"dependencies": {
|
||||
"@prisma/adapter-pg": "7.5.0",
|
||||
|
||||
Reference in New Issue
Block a user