mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-26 04:42:16 +00:00
Add pnpm dev to run the Astro site and Strapi CMS together
Root "dev" script uses concurrently to run both apps with labeled, color-coded output ([site]/[cms]) instead of needing two terminals. The per-app dev:site/dev:cms scripts stay for when you only want one.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "concurrently -n site,cms -c blue,magenta \"pnpm --filter site dev\" \"pnpm --filter cms develop\"",
|
||||
"dev:site": "pnpm --filter site dev",
|
||||
"dev:cms": "pnpm --filter cms develop",
|
||||
"build:site": "pnpm --filter site build",
|
||||
@@ -16,6 +17,7 @@
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.5.11",
|
||||
"@resvg/resvg-js": "^2.6.2",
|
||||
"concurrently": "^10.0.5",
|
||||
"satori": "^0.29.0",
|
||||
"smol-toml": "^1.8.0",
|
||||
"wawoff2": "^2.0.1"
|
||||
|
||||
Reference in New Issue
Block a user