chore: add check script & use in precommit
This commit is contained in:
parent
4966cbbce0
commit
3a682b9232
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
|||
npm run lint
|
||||
npm run check
|
||||
|
|
|
@ -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/",
|
||||
|
|
Loading…
Reference in a new issue