From 67298c3a7a15b60092ebcdb7e8a8c620b0a68bf3 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sat, 17 May 2025 09:34:17 +0200 Subject: [PATCH] chore: update npm scripts --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3a7298f..bf3e016 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "version": "0.0.1", "private": true, "scripts": { + "astro": "astro", "dev": "astro dev", "start": "astro dev", "build": "astro telemetry disable && astro build", @@ -11,10 +12,10 @@ "lint": "eslint . --config eslint.config.mjs --cache", "format": "prettier . --write", "check": "npm run format && npm run lint", - "astro": "astro", - "build:preview": "astro build && astro preview", - "deploy": "astro build && scp -r dist ayo@ayco.io:~/ayco.io-flask/", - "copy:dist": "astro build && cp -R dist ../ayco.io-flask/", + "deploy": "scp -r dist ayo@ayco.io:~/ayco.io-flask", + "build:preview": "npm run build && astro preview", + "build:deploy": "npm run build && npm run deploy", + "copy:dist": "npm run build && cp -R dist ../ayco.io-flask/", "prepare": "husky", "prep:now": "npx jiti ./commands/prep-now.js" },