Skip to content

Commit

Permalink
chore: add scripts to run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
isqua committed Jun 2, 2024
1 parent e062cfa commit 80d3f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build --base=\"${PUBLIC_URL:-/}\"",
"preview": "vite preview"
"preview": "vite preview",
"style": "prettier --check src index.html",
"reformat": "prettier --write src index.html"
},
"devDependencies": {
"prettier": "3.2.5",
Expand Down

0 comments on commit 80d3f5b

Please sign in to comment.