Adds deploy script (#1286)

This commit is contained in:
Omar López 2021-12-09 09:19:52 -07:00 committed by GitHub
parent 850497ea80
commit 8617b2db65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,12 @@
"dev": "next dev",
"db-up": "docker-compose up -d",
"db-migrate": "yarn prisma migrate dev",
"db-deploy": "yarn prisma migrate deploy",
"db-seed": "yarn ts-node scripts/seed.ts",
"db-nuke": "docker-compose down --volumes --remove-orphans",
"db-setup": "run-s db-up db-migrate db-seed",
"db-reset": "run-s db-nuke db-setup",
"deploy": "run-s build db-deploy",
"dx": "env-cmd run-s db-setup dev",
"test": "jest",
"test-playwright": "jest --config jest.playwright.config.js",