0.0.24 β’ Published 1 year ago
react-raika v0.0.24
π React Starter for Raika
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:
npx react-raika project-nameThen, 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:
npm run analyzeThis 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:
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.scssinsrc/styles/base/_font.scss
πΌοΈ Icon Handling
- Add your SVGs to
src/assets/icons/ - Import them in
Icon.tsx - 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:
npm run releaseSelect 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! π