UNPKG

react-raika

Version:

react-starter

77 lines (56 loc) β€’ 1.99 kB
# πŸš€ React Starter for Raika ![banner](https://github.com/user-attachments/assets/5e00cdb3-bb29-43f7-a906-981f26b48ed0) A powerful and well-structured React boilerplate for our company, designed to streamline development and enforce best practices. --- ## πŸ“¦ Getting Started To create a new project using this boilerplate, run: ```sh npx react-raika project-name ``` Then, start coding! πŸš€ --- ## πŸ”§ Features & Setup ### βœ… **Pre-Commit Linting & Formatting** When committing files, **husky** will automatically: βœ”οΈ Run lint-staged βœ”οΈ Lint & format changes βœ”οΈ Build the project βœ”οΈ Allow pushing only if everything passes ### πŸ“Š **Analyze Unused Files & Packages** Run: ```sh npm run analyze ``` This helps identify **unused files and dependencies**. ### πŸ§ͺ **Testing Setup** - **Cypress** β†’ Preconfigured for **E2E testing** πŸ› οΈ - **Vitest** β†’ Ready for **unit testing** ⚑ ### πŸš€ **Upgrade Dependencies** Easily upgrade your dependencies with: ```sh npx taze ``` ### πŸ“± **PWA Support** - Modify the **manifest and Service Worker** in `public folder` - Update icons in `public/icons/` ### 🎨 **Custom Styling & Fonts** - Replace fonts in `src/assets/fonts/` - Update `_font.scss` in `src/styles/base/_font.scss` ### πŸ–ΌοΈ **Icon Handling** 1. Add your **SVGs** to `src/assets/icons/` 2. Import them in `Icon.tsx` 3. Use them with `<CustomIcon icon="your-icon" />` ### 🌍 **i18n & RTL Support** - **Multi-language support** included - Configure **RTL/LTR** based on your project’s needs ### πŸ”– **Versioning & Releases** Run: ```sh npm run release ``` Select the version type, and let the script handle the rest! --- ## πŸ“š Preinstalled Libraries This boilerplate includes essential tools and configurations to **boost productivity**. --- 🎯 Ready to start? **Run the command, set up your project, and build amazing things!** πŸš€