Skip to content

imranhsayed/react-app-boilerplate

Repository files navigation

React App Boilerplate

Project Status: Active – The project has reached a stable, usable state and is being actively developed. code style: prettier

Maintainer

Name Github Username
Imran Sayed @imranhsayed

Development

Install

Clone the repo and run

npm install

During development

Starts webpack dev server at localhost:8080

npm run dev

Production

Creates an index.html and JavaScript file in build directory.

npm run prod

Linting & Formatting

The following command will fix most errors and show and remaining ones which cannot be fixed automatically.

npm run eslint:fix

We follow the stylelint configuration used in WordPress Gutenberg, run the following command to lint and fix styles.

npm run stylelint:fix

Format code with prettier

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.

npm run precommit

About

🔥 react-app-boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published