React-JS Boilerplate
How can I use it?
Requirements:
Name | Version |
---|---|
node js | >= 16.0.0 |
npm | >= 4.0.0 |
yarn | >=1.22.0 |
install Requirements:
You should have installed NodeJS, NPM or Yarn, CRA, and Git on your machine.
*Template Method:
Create React App with:
yarn create react-app --template cra-template-cp my-app
or
npx create-react-app my-app --template cra-template-cp
*Fork Method:
Fork this repo (by click on Fork
button)
Clone your forked repo (git clone https://github.com/<YOUR_GITHUB_ACCOUNT>/<YOUR_FORKED_REPO_NAME>
)
Run command npm install
or yarn
Features & Tools
Core
- React
- React Router
- StyledComponents
- i18n
- Typescript
- Nodemon
- Typescript
- Semantic Version
(SemVer)
- Plop Support
(Component Generator)
- Custom Scripts
Linting
- ESLint
- TSLint
- Prettier
- Stylelint