Use RequireJS 'deps' config option instead of programmatically kicking off the application's main module.
Ignore generated .bower.json files.