I followed these instructions and I made a hello world app with React. I uploaded the development files in my EBS and it worked.
After that I used the command npm run build, I followed the instructions, I installed the push-state and I tested using localhost. Everything worked fine.
But I uploaded the build files to my EBS and it complains that the app does not have the package.json file and the app does not work.
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 npm run build in EBS?