- General purpose π
- Getting started β
- Useful commands π
This template is meant to be used as the main skeleton for every React application. Out of the box, this template comes with (our) standard configuration for linters, pretter & testing.
- Clone this project
git clone git@github.com:uhayon/nextjs-template.git
- Install dependencies
yarn
- Prepare Husky
yarn prepare
This project is bootstrapped using yarn
Command | Description |
---|---|
dev | Runs the project locally |
build | Generates a production build |
start | Starts the production build |
test | Runs the test defined along the project |
test:coverage | Shows the current code coverage |
test:watch | Runs the tests in watch mode |
lint | Runs the linter through the entire project |
analyze | Analyze the project build size & its dependencies |
prepare | Initializes Husky |
generate | Creates a new component |