Skip to content

nirnejak/nextjs-typescript-starter

Repository files navigation

Next.js TypeScript Starter


Included

  • seo.ts util to generate SEO metadata
  • manifest.json for site info
  • classnames util for easily managing classes

Additional Packages Used

  • Tailwind CSS - for styling
  • Framer Motion - for animations
  • Akar Icons - library for rounded icons
  • use-sound - for using sounds
  • React Query - for data fetching and caching

Available Scripts

Install Dependencies

npm install

Install Git Hooks (won't let you commit if there are any ESLint issues)

npm run prepare

Start Development Server

npm run dev

Lint all the files

npm run lint

Format all files with Prettier

npm run format

Check TypeScript issues

npm run type-check

Build for Production

npm run build

Start Production Server

npm start