Minimal Nextjs Typescript boilerplate
A Minimal Next-Typescript boilerplate to quickly and easily bootstrap your next project. Comes pre-configured with, Tailwindcss, Eslint, Prettier, Lint-staged ,Husky and Commitizen.
Features
-
โก Nextjs for SSR and SSG -
๐ Typescript for type checking -
๐ Tailwind css for styles -
๐ Eslint for code quality control -
๐ Prettier for code formatting -
๐บ Husky for Git Hooks -
โ Lint-staged for running lint on staged files -
โ Commitizen for setting conventional commit message standards for commit messages
Getting started
Using this boilerplate is quite easy. first clone the repo
git clone https://github.com/teyim/minimal-nextjs-typescript-boilerplate.git
now, install the projects dependencies via yarn:
yarn install
and then spin-up your nextjs dev server:
npm run dev
Working with Commitizen
After staging the files you wish to commit, type:
cz
command ,which will bring up a commitizen commandline interface with conventional commit options to commit your code.
Customisation
- Project name
Customise the project name by navigating to the package.json file and changing the name property.
-
Don't forget to give this project a star
โญ -
Follow me on Twitter