Add linter script

Fix issue with running `cd src/handbook` while in the handbook directory for building
This commit is contained in:
KingRainbow44
2023-04-06 18:42:38 -04:00
parent 4664a21fab
commit bb20d0fd80
2 changed files with 4 additions and 2 deletions

View File

@@ -8,7 +8,9 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"lint": "npx prettier --write \"src/handbook/**/*.{ts,tsx,js,jsx,json,md}\""
},
"dependencies": {