feat: add one-command local development stack
This commit is contained in:
+6
-2
@@ -10,8 +10,11 @@
|
||||
"db:down": "docker compose down",
|
||||
"db:generate": "drizzle-kit generate",
|
||||
"db:migrate": "drizzle-kit migrate",
|
||||
"db:up": "docker compose up -d postgres redis",
|
||||
"db:up": "docker compose up -d --wait postgres redis",
|
||||
"dev": "npm run dev:prepare && concurrently --kill-others --names api,web --prefix-colors blue,green \"npm run dev:api\" \"npm run dev:web\"",
|
||||
"dev:api": "npm run start --workspace=@pokemon-inventory/api",
|
||||
"dev:prepare": "npm run db:up && npm run db:migrate",
|
||||
"dev:web": "npm run dev --workspace=@pokemon-inventory/web",
|
||||
"provision:admin": "npm run provision:admin --workspace=@pokemon-inventory/api",
|
||||
"test:application": "npm run test:application --workspace=@pokemon-inventory/api",
|
||||
"test:domain": "npm run test:domain --workspace=@pokemon-inventory/api",
|
||||
@@ -20,7 +23,8 @@
|
||||
"test": "npm run test:domain && npm run test:application && npm run test:http"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^10.0.5",
|
||||
"dotenv": "^16.6.1",
|
||||
"drizzle-kit": "^0.31.8"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user