Copy webpack.config.js and webpack.prod.js to any project with JavaScript. The package.json file contains all the dependencies for start a project with Webpack and this basic configuration. Check too the babel.config.json file for use babel.
Install dependencies
npm install
Generate build files for deployment
npm run build
Start webpack-server for development
npm start