Adds deploy script (#1286)
parent
850497ea80
commit
8617b2db65
|
@ -9,10 +9,12 @@
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"db-up": "docker-compose up -d",
|
"db-up": "docker-compose up -d",
|
||||||
"db-migrate": "yarn prisma migrate dev",
|
"db-migrate": "yarn prisma migrate dev",
|
||||||
|
"db-deploy": "yarn prisma migrate deploy",
|
||||||
"db-seed": "yarn ts-node scripts/seed.ts",
|
"db-seed": "yarn ts-node scripts/seed.ts",
|
||||||
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
||||||
"db-setup": "run-s db-up db-migrate db-seed",
|
"db-setup": "run-s db-up db-migrate db-seed",
|
||||||
"db-reset": "run-s db-nuke db-setup",
|
"db-reset": "run-s db-nuke db-setup",
|
||||||
|
"deploy": "run-s build db-deploy",
|
||||||
"dx": "env-cmd run-s db-setup dev",
|
"dx": "env-cmd run-s db-setup dev",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test-playwright": "jest --config jest.playwright.config.js",
|
"test-playwright": "jest --config jest.playwright.config.js",
|
||||||
|
|
Loading…
Reference in New Issue