Find the code sample on Github
If you are starting a new project, you can use the below projects as a template on github:
Babylon Webpack es6 by Raanan
React Babylon by Brianzinn
Angular Babylon by JohnnyDevNull
Vue Babylon by Beg-in
Or you can follow the Babylon TypeScript Webpack setup tutorial.
You can use your favorite tool like npm or yarn to add babylon packages. Find more information about BabylonJS NPM packages on the documentation.