mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Add data migration to npm scripts
This commit is contained in:
parent
5c4f46a41e
commit
a5fde1b6c8
2 changed files with 6 additions and 3 deletions
|
|
@ -3,10 +3,10 @@
|
|||
"type": "module",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"start": "npm run dev",
|
||||
"dev": "prisma generate --sql && astro dev",
|
||||
"build": "prisma generate --sql && npm run paraglide:compile && astro build",
|
||||
"dev": "astro dev",
|
||||
"build": "npm run prisma:migrate && npm run paraglide:compile && astro build",
|
||||
"preview": "astro preview",
|
||||
"prisma:build": "prisma migrate deploy && prisma generate --sql && tsx ./prisma/migrate.ts",
|
||||
"paraglide:compile": "paraglide-js compile --project ./project.inlang --outdir ./src\\paraglide"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
@ -36,6 +36,7 @@
|
|||
"slugify": "^1.6.6",
|
||||
"superstruct": "^2.0.2",
|
||||
"tailwindcss": "^4.0.7",
|
||||
"tsx": "^4.19.4",
|
||||
"typescript": "^5.6.2",
|
||||
"use-immer": "^0.11.0"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue