Skip to content

krlls/react-redux-rxjs-ts

Repository files navigation

React-Redux-RxJs-TypeScript

Install

First, clone the repo via git:

git clone https://github.com/krlls/My-build-React.git your-project-name

And then install dependencies. ProTip: Install with yarn for faster and safer installation

$ cd your-project-name && yarn

Run

Run these commands:

$ yarn dev

Build

For build run this command

$ yarn build

Docker

For build docker image run

The name of the docker image will be taken from the name of your application in packaje.json

$ yarn build:docker

And run image

$ yarn run:docker

or

$ docker run -p 80:80 npm_package_name

Test

For test run this command

$ yarn test

Lint

For lint run this command

$ yarn lint

For autocorrection, you can do

$ yarn lint-fix