This is a Vite React app (formerly a Create React App, formerly a Next.js App)
This project uses Bun for package management, with a version of v1.1.4
The following scripts are available for this project:
- Start the app in development mode with Vite
- Build the app with Vite to the
/dist
directory
- Preview the build Vite app and serve it locally from
/dist
- Deploy the application to GitHub pages
- This implicitly runs the
predeploy
script first, which lints and builds the app
- Format the application with Biome
bun format
will format all filesbun format:changed
will format files that git detects as changed relative tomain
- Auto-formatting and lint errors
bun fix
will fix errors in all filesbun fix:changed
will fix errors in files that git detects as changed relative tomain
- Checks for CSS format errors with Stylelint
- Checks for type errors with tsc
bun lint:code
/bun lint:changed:code
/ bun lint:format
/bun lint:changed:format
/ bun lint:check
/bun lint:changed:check
- Check code for errors with Biome
bun lint:code
will check for lint errors in all filesbun lint:changed:code
will check for lint errors in files that git detects as changed relative tomain
bun lint:format
will check for format errors in all filesbun lint:changed:format
will check for format errors in files that git detects as changed relative tomain
bun lint:check
will check for both format and lint errors in all filesbun lint:changed:check
will check for both format and lint errors in files that git detects as changed relative tomain
- Lint the entire application, running
bun lint:check
,bun lint:styles
, andbun lint:types
concurrently