chore: update build script to run astro check

This commit is contained in:
Ayo 2022-11-05 08:30:11 +01:00
parent 9e54d2b0a9
commit 1eca8f2e27
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",
"build": "astro build", "build": "astro check && astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro" "astro": "astro"
}, },

View file

@ -8,7 +8,7 @@
"start": "astro dev", "start": "astro dev",
"docs": "astro dev", "docs": "astro dev",
"check": "astro check && tsc", "check": "astro check && tsc",
"build": "astro build", "build": "astro check && astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro" "astro": "astro"
}, },

View file

@ -6,7 +6,7 @@
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",
"landing-page": "astro dev", "landing-page": "astro dev",
"build": "astro build", "build": "astro check && astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro", "astro": "astro",
"format": "prettier --write .", "format": "prettier --write .",