Bootstrap a developer-friendly NextJS app configured with:
- Typescript
- Linting with ESLint and stylelint
- Formatting with Prettier
- Linting, typechecking and formatting on by default using
husky
for commit hooks - Testing with Jest and
react-testing-library
- Storybook
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/croutonn/next-template with-typescript-eslint-jest-app
# or
yarn create next-app --example https://github.com/croutonn/next-template with-typescript-eslint-jest-app
Deploy it to the cloud with Vercel (Documentation).