Breadcrumbs
Commands
Here are all the commands defined in the NextKit's template
Run the development server
Run the command:
bashnpm run devBuild a production bundle
Run the command:
bashnpm buildStart a production server
Run the command after building the application with the build command:
bashnpm startThis is optional as it is automatically called after the build command.
Format all the files
Run the command:
bashnpm run formatType checking
Run the command:
bashnpm run typecheckLinting
Run the command:
bashnpm run lintStart the Supabase Local Environment
Run the command:
bashnpm run supabase:startThis is needed during development. It requires Docker to be up and running.
Stopping the Supabase Local Environment
Run the command:
bashnpm run supabase:stopReset the Supabase Local Environment Database
Run the command:
bashnpm run supabase:db:resetRunning the Supabase Database Tests
Run the command:
bashnpm run test:dbRunning and resetting the Supabase Database Tests
Run the command:
bashnpm run test:reset:dbRun Cypress for E2E Tests (with UI)
Run the command:
bashnpm run cypressRun Cypress for E2E Tests (Headless)
Run the command:
bashnpm run cypress:headlessRun E2E Tests and Exit
Run the command:
bashnpm test:e2eRun the Local Stripe Webhooks Server
This is needed if you are testing Stripe. This command requires Docker, but you can alternatively install Stripe on your OS and change the command to use stripe directly.
Run the command:
bashnpm run stripe:listen