https://github.com/imranhsayed/react-app-boilerplate
:fire: react-app-boilerplate
https://github.com/imranhsayed/react-app-boilerplate
Last synced: 10 months ago
JSON representation
:fire: react-app-boilerplate
- Host: GitHub
- URL: https://github.com/imranhsayed/react-app-boilerplate
- Owner: imranhsayed
- Created: 2020-04-10T06:14:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T22:48:14.000Z (about 3 years ago)
- Last Synced: 2025-06-03T12:06:28.953Z (11 months ago)
- Language: SCSS
- Homepage:
- Size: 2.39 MB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React App Boilerplate
[](https://www.repostatus.org/#active) [](https://github.com/prettier/prettier)
## Maintainer
| Name | Github Username |
|--------------------------------------------------------|-----------------|
| [Imran Sayed](mailto:codeytek.academy@gmail.com) | @imranhsayed |
## Development
**Install**
Clone the repo and run
```bash
npm install
```
**During development**
Starts webpack dev server at `localhost:8080`
```bash
npm run dev
```
**Production**
Creates an `index.html` and JavaScript file in `build` directory.
```bash
npm run prod
```
**Linting & Formatting**
The following command will fix most errors and show and remaining ones which cannot be fixed automatically.
```bash
npm run eslint:fix
```
We follow the stylelint configuration used in WordPress Gutenberg, run the following command to lint and fix styles.
```bash
npm run stylelint:fix
```
Format code with prettier
```bash
npm run format-js
```
**precommit**
You should run precommit to check for any eslint, stylint errors/warnings and to ensure all tests are passing before making a PR ready for review.
```bash
npm run precommit
```