Scripts
These scripts let you manage the api. It´s recommended to run these from the project root, e.g.
dev
: Starts the development server using Vite.
build
: Compiles TypeScript files and builds the application for production using Vite.
serve
: Serves the dist
directory on port 3000.
format
: Formats .ts
and .tsx
files in the src
directory using Prettier.
lint
: Lints .ts
and .tsx
files in the src
directory using ESLint and automatically fixes problems where possible.
preview
: Previews the production build using Vite.
Last updated