chore: add task to automatically build before previewing astro

This commit is contained in:
Stefan Imhoff
2024-10-14 12:45:00 +02:00
parent 9de098c3ef
commit d59262c324

View File

@@ -3,15 +3,16 @@
"type": "module",
"version": "1.0.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"astro": "astro",
"build": "astro build",
"preview": "astro preview",
"og:generate": "node og-generate.cjs",
"dev": "astro dev",
"icons:generate": "node icons-generate.cjs",
"webp": "node convert-images.cjs",
"og:generate": "node og-generate.cjs",
"plop": "plop",
"astro": "astro"
"prepreview": "pnpm run build",
"preview": "astro preview --open",
"start": "astro dev",
"webp": "node convert-images.cjs"
},
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.2",