From e915cf88dd2b6b99aa10fb0b7cc215a0897339e1 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 11 Aug 2025 19:50:50 +0200 Subject: [PATCH] feat: configure scripts start, preview, and postinstall in package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8c582bd..7298dd3 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,11 @@ "private": true, "scripts": { "dev": "astro dev", - "start": "astro dev", + "start": "astro preview --host 0.0.0.0 --port 8080", "check": "astro check", "build": "astro build", "preview": "astro preview --host 0.0.0.0 --port 8080", + "postinstall": "astro build", "astro": "astro" }, "dependencies": {