From 5266f53fb474b3a77b2f8ff8c870a054aa9fba0c Mon Sep 17 00:00:00 2001 From: Nguyen Long Nhat <27698189+torn4dom4n@users.noreply.github.com> Date: Fri, 5 Apr 2024 22:26:45 +0700 Subject: [PATCH] Bun --- README.md | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 478c86a..4eceffd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ git clone https://github.com/MedPocket/18-months --depth=1 cd 18-months bun install -bun dev +bun run dev ``` ## Want to learn more? diff --git a/package.json b/package.json index 10ae106..3b444ef 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "0.1.0", "description": "The time for me to find myself.", "scripts": { - "build": "astro build", - "dev": "astro dev", + "build": "bunx --bun astro build", + "dev": "bunx --bun astro dev", "format": "prettier -w . --cache", - "preview": "astro preview", - "start": "astro dev" + "preview": "bunx --bun astro preview", + "start": "bunx --bun astro dev" }, "dependencies": { "@astrojs/starlight": "^0.21.2",