A simple vite react typescript starter template with husky, conventional commit, eslint, stylelint, prettier, sass, tailwindcss, material ui, tanstack routing, redux and saga, vitest and cypress
This template setup will include following features.
◼️ | Feature | Branch Name |
---|---|---|
✅ | Generate Vite + React + Typescript App | feature/1/starter |
◼️ | Husky | feature/2/husky |
◼️ | Conventional Commit | feature/3/commitlint |
◼️ | ESLint Airbnb Config and Plugins | feature/4/eslint |
◼️ | StyleLint | feature/5/stylelint |
◼️ | Prettier format | feature/6/prettier |
◼️ | Lint Staged | feature/7/lint-staged |
◼️ | Sass + Tailwind css | feature/8/tailwindcss |
◼️ | Material UI | feature/9/material-ui |
◼️ | React Router Setup | feature/10/tanstack-router |
◼️ | Redux + Redux Toolkit | feature/11/react-redux |
◼️ | Redux Saga | feature/12/react-saga |
◼️ | Vitest + RTL | feature/13/vitest |
◼️ | Cypress E2E Testing | feature/14/cypress |
# For full template
npx degit R35007/vite-react-typescript#main myapp # main branch
# For starter template
npx degit R35007/vite-react-typescript#feature/1/starter myapp # feature/1/starter branch
npm run start # start development server
npm run dev # start development server
npm run build # build production bundle to 'dist' directly
npm run preview # start production server
# Lints
npm run lint # run eslint
MIT