NextJS Starter Kit Template 🏆

Index

General Purpose 🎆

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.

Getting started ✅

  1. Clone this project
git clone git@github.com:uhayon/nextjs-template.git
  1. Install dependencies
yarn
  1. Prepare Husky
yarn prepare

Useful Commands 📓

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