A TypeScript starter for Next.js that includes all you need to build amazing projects 🔥
- 📏 ESLint — Pluggable JavaScript linter
- 💖 Prettier - Opinionated Code Formatter
- 🐶 Husky — Use git hooks with ease
- 📄 Commitizen - Conventional commit messages CLI
- 🚓 Commitlint - Lint commit messages
- 🖌 Renovate - Dependency update tool
- 🚫 lint-staged - Run linters against staged git files
- 🗂 Absolute import - Import folders and files using the
@
prefix
The best way to start with this template is using create-next-app
.
npx create-next-app ts-next -e https://github.com/jpedroschmitz/typescript-nextjs-starter
If you prefer you can clone this repository and run the following commands inside the project folder:
npm install
oryarn
;yarn dev
;
To view the project open http://localhost:3000
.
- Fork this repository;
- Create your branch:
git checkout -b my-new-feature
; - Commit your changes:
git commit -m 'Add some feature'
; - Push to the branch:
git push origin my-new-feature
.
After your pull request is merged, you can safely delete your branch.
This project is licensed under the MIT License - see the LICENSE.md file for more information.
Made with ♥ by João Pedro Schmitz