All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run test |
Runs all unit/integration tests with uvu |
npm run lint |
Runs eslint for all .ts/.tsx files |
npm run types |
Runs typescript type check for all project |
npm run generate component cool-name |
Generates new component to ./src/components/cool-name/ |
npm run generate feature cool-name |
Generates new component to ./src/features/cool-name/ |