React JS Project Boilerplate
yarn
Start the development server
yarn start
Run all yours test files
yarn test
Build the site into
build
folder
yarn build
Extend react-app configs & react-app/jest configs
Check for the linting errors
yarn lint
Check & automatically fix the linting errors
yarn lint:fix
Used in conjuction with Eslint with
eslint-plugin-prettier
&eslint-config-prettier
Format the workspace files
yarn format
Format the
package.json
file
yarn format:package
git add . && yarn commit
Uses gacp
- Runs Husky to improve the commits.
- Husky runs Lint Staged as a pre-commit hook to run lintes & formatters
- Husky lints the commit message with Commitlint