Starter template using React 18, TypeScript, TailwindCSS, and Webpack 5, optimized for seamless development and efficient production builds.
- Before starting, ensure you have Node.js v22.x or later and npm installed.
- Clone project or click use this template
npm install
npm start
The production build generates an optimized output in the dist/
directory, ready for deployment. To build the project for production, run:
npm run build
-
Run all the tests in the project.
npm run test
-
Generate a code coverage report.
npm run coverage
-
Analyze bundle size during the build process to identify potential optimizations.
npm run analyze
-
Lints the code with ESLint to check for errors and enforce standards.
npm run lint
-
Format the code with Prettier, following specified style guidelines.
npm run format
Husky is used to run pre-commit hooks to ensure code quality before commits.
Modify the hook as needed by editing the .husky/pre-commit
file.
Made with ♥ by ivstudio