chore(webapp): add format and format:check scripts

Add Prettier scripts to webapp package for code formatting, consistent
with the existing server package setup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ahmed Bouhuolia
2026-03-27 18:21:23 +02:00
parent 1c93244801
commit ccb34e2155

View File

@@ -138,6 +138,8 @@
"build": "vite build",
"preview": "cross-env PORT=4173 vite preview",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"test": "node scripts/test.js",
"storybook": "start-storybook -p 6006"
},