This template generates a base structure for working on a OSX JavaScript automation module with webpack.
ironman install https://github.com/ottogiron/ironman-osx-automation-template.git
ironman generate dev-osx-automation <directory-name> --set moduleName=hello
For instruction on how to build and run the example check the generated module README, then make your own modifications.