mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 23:37:41 +00:00
Demo script added
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
b75b7031d1
commit
3146ab835f
1 changed files with 2 additions and 1 deletions
|
@ -2,11 +2,12 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently --kill-others \"npm run dev:frontend\" \"npm run dev:backend\"",
|
"dev": "concurrently --kill-others \"npm run dev:frontend\" \"npm run dev:backend\"",
|
||||||
|
"demo": "npm run build && prisma migrate deploy && prisma migrate reset -f && node dist/api/server.js",
|
||||||
"dev:frontend": "vite",
|
"dev:frontend": "vite",
|
||||||
"dev:backend": "nodemon -r dotenv/config ./src/api/server.ts",
|
"dev:backend": "nodemon -r dotenv/config ./src/api/server.ts",
|
||||||
"build": "npm run build:frontend && npm run build:backend",
|
"build": "npm run build:frontend && npm run build:backend",
|
||||||
"build:frontend": "vite build",
|
"build:frontend": "vite build",
|
||||||
"build:backend": "npx prisma generate && tsc -p tsconfig.backend.json --outDir dist",
|
"build:backend": "prisma generate && tsc -p tsconfig.backend.json --outDir dist",
|
||||||
"preview": "vite preview --port 5050",
|
"preview": "vite preview --port 5050",
|
||||||
"test:unit": "vitest --environment jsdom",
|
"test:unit": "vitest --environment jsdom",
|
||||||
"test:unit:ci": "vitest --environment jsdom --run",
|
"test:unit:ci": "vitest --environment jsdom --run",
|
||||||
|
|
Loading…
Add table
Reference in a new issue