Build a React App in Elastic Beanstalk
<p>I followed <a href="https://facebook.github.io/react/docs/installation.html" rel="noreferrer">these instructions</a> and I made a hello world app with React. I uploaded the development files in my EBS and it worked.</p>

<p>After that I used the command <strong>npm run build</strong>, I followed the instructions, I installed the <strong>push-state</strong> and I tested using localhost. Everything worked fine. </p>

<p>But I uploaded the build files to my EBS and it complains that the app does not have the <strong>package.json</strong> file and the app does not work.</p>

<p>What do I have to do to put in package.json to deploy my react app using Elastic Beanstalk? How to deploy the build files generated by <strong>npm run build</strong> in EBS?</p>