https://github.com/imranhsayed/react-app-boilerplate
:fire: react-app-boilerplate
https://github.com/imranhsayed/react-app-boilerplate
Last synced: about 2 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 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T22:48:14.000Z (over 2 years ago)
- Last Synced: 2025-03-28T20:16:12.986Z (2 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:[email protected]) | @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
```