Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 819 Bytes

File metadata and controls

22 lines (17 loc) · 819 Bytes

React Startup

This is simple project structure for React web application.

Installation

After cloning repository all required packages should be installed.

npm

npm install

yarn

yarn install

Commands

yarn run build - builds development build from all scripts and styles. This build includes soucemaps.
yarn run build-prod - builds production build. This build does not include sourcemaps.
yarn run server - runs a server to track changes of project files and automatically builds development build.
yarn run eslint - shows all linting problems.
yarn run eslint-fix - fixes linting problems where possible.

All the commands also works with NPM

Testing

If everything works, after running yarn install you should see red "Hello word!" header.