just another interview task
intall:
yarn
production build:
yarn build
uglify, separate css file. Build is available by local absolute path in ./dist directory
build and start temp-server:
yarn start
(if port is busy: yarn start -- --port=[number])
start devserver:
yarn start-dev
hot reload, http://localhost:8080
(if port/domain is busy: yarn start-dev -- --host 127.0.0.1 --port 9000)
generate docs:
yarn doc
creates react-docgen.json in /doc directory