This is simple project structure for React web application.
After cloning repository all required packages should be installed.
npm install
yarn install
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.
If everything works, after running yarn install
you should see red "Hello word!" header.