Step 1: Clone this repo
git clone https://github.com/sergei97k/cra-quick-start
cd cra-quick-start
Step 2: Install
yarn install
// or
npm install
Step 3: Start
yarn start
// or
npm run start
yarn dev # build and watch, but javascript not minified
yarn build # build a minified production version
yarn test # run test using Jest and Enzyme
yarn test:cover # run test using Jest and Enzyme with coverage report
yarn eject # remove the single build dependency from your project
- ESLint
- Prettier
- Husky
- Jest
- Enzyme
The presence of jsconfig.json file in a directory indicates that the directory is the root of a project.
if you want to import a module located at src/components/Button.js, you can import the module like so:
import Button from "components/Button";
For more information on this configuration file, see the jsconfig.json reference documentation.
- Open WebStorm -> Preferences and find ESLint
- Set option "Automatic ESLint configuration" or "Manual ESLint configuration"
- Open WebStorm -> Preferences and find Prettier
- Select Prettier package