First, clone the repo via git:
git clone https://github.com/krlls/My-build-React.git your-project-nameAnd then install dependencies. ProTip: Install with yarn for faster and safer installation
$ cd your-project-name && yarnRun these commands:
$ yarn devFor build run this command
$ yarn buildFor build docker image run
The name of the docker image will be taken from the name of your application in packaje.json
$ yarn build:dockerAnd run image
$ yarn run:dockeror
$ docker run -p 80:80 npm_package_nameFor test run this command
$ yarn testFor lint run this command
$ yarn lintFor autocorrection, you can do
$ yarn lint-fix