This is the base template for react app project. It has out of box integration with
.
├── README.md
├── config
│ ├── jest
│ ├── polyfills.js
│ ├── webpack.config.dev.js
│ └── webpack.config.prod.js
├── development.js
├── package.json
├── production.js
├── public
│ ├── images
│ └── index.html
├── src
│ ├── actions
│ ├── api
│ ├── components
│ ├── index.js
│ ├── reducers
│ ├── setupTests.js
│ ├── site.css
│ └── store.js
├── yarn.lock
└── storybook-server.js
development.js
Server in dev environmentproduction.js
Server in production environmentconfig/webpack.config.dev.js
Webpack development configurationconfig/webpack.config.prod.js
Webpack production configuration
First install all the dependencies for development
yarn install && bower install
Launch application in development mode
yarn run dev
Testing Application
yarn run test
Build application
yarn run build
Run application
yarn run start
Extras
- Best fix of
yarn.lock
merge conflict$ git checkout <previous commit> -- yarn.lock $ yarn run install