summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 3cfb976..57e5bf0 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
"start": "astro dev",
"build": "npm run build-api && astro build",
"build-api": "cd api-src && npx tsc",
+ "prebuild-api": "cd api && fd \"(.js|.js.map)$\" | xargs rm",
"preview": "astro preview",
"astro": "astro",
"lint": "eslint .",