React + TypeScript + SASS
Frontend Boilerplates
Overview
This repository is a group of boilerplates including some good practises and tips that you can follow in your projects. There are different technologies separated by branches but with similar structures to write scalable applications. Some of them include JavaScript, TypeScript, Vue or React. Click on the logos to navigate through them.
React - Boilerplate Features
Most relevant technologies used in the Boilerplate:
- React: A JavaScript library for building user interfaces.
- TypeScript: All the code uses TypeScript.
- SASS: Scss structure with good practises.
- Linting: Linting for JavaScript and SASS.
- BEM (Non strict) + BEMIT: Some conventions for CSS classes.
- Yarn: In React Project we have change NPM for Yarn.
π Setup and scripts
Before start download or clone the boilerplate. Install all the dependencies.
$ yarn
Run the project for local development.
$ yarn start
Build the project for a production environment.
$ yarn build
If you want to test, there are some options.
$ yarn test # (Will run unit and e2e tests)
$ yarn test:unit # (Only unit tests)
$ yarn test:e2e # (Only e2e tests)
The linting is configured with husky and will run before push, but you can run it.
$ yarn lint # (Will run scripts and styles linting)
$ yarn lint:scripts # (Only scripts lint)
$ yarn lint:styles # (Only styles lint)
π© Contributors
This project is possible thanks to the contributors.
Quique Fdez Guerra π¦ π» π§ | Sabrina Pertusatti π» | VΓctor GΓ‘mez π» | Alex Kryzhanovskyy π» | Juan Carlos π» |