There are many tools for getting a boilerplate code generated available for reactjs. The most popular tool used by many developers is create-react-app, which comes with many configuration options.
Introduction to babel and webpack
Using babel with webpack
Using css and file loader with webpack
Using webpack dev server