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