diff --git a/.husky/pre-commit b/.husky/pre-commit index 3867a0f..0ad376d 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npm run lint +npm run check diff --git a/package.json b/package.json index 6e7d681..0360e2e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "preview": "astro preview", "lint": "eslint . --config eslint.config.mjs", "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/",