/next-client-boilerplate

Next.js boilerplate using TypeScript, Styled Components, Jest, React Testing Library, Storybook, Eslint, Prettier, Husky and others.

Primary LanguageTypeScript

TypeScript Next.js boilerplate

Next.js boilerplate using TypeScript, Styled Components, Jest, React Testing Library, Storybook, Eslint, Prettier, Husky and others.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Commands

  • dev: runs your application on localhost:3000
  • build: creates the production build version
  • start: starts a simple server with the build production code
  • next:lint: runs the next conformance lint
  • lint: runs the linter in all components and pages
  • test: runs jest to test all components and pages
  • test:watch: runs jest in watch mode
  • storybook: runs storybook on localhost:6006
  • build-storybook: create the build version of storybook