old_contents: var exec = require('./exec').exec;
  var findup = require('findup-sync');
  var pkg = require(findup('./package.json'));
  var bowerPkg = require(findup('./bower.json'));
  
  module.exports = {
      register : function() {
          return exec('bower', ['register', bowerPkg.name, pkg.repository.url]);
      },
  
      install : function() {
          return exec('bower', ['install']);
      }
  };
new_contents: var exec = require('./exec').exec;
  var findup = require('findup-sync');
  
  module.exports = {
      register : function() {
          var pkg = require(findup('./package.json'));
          var bowerPkg = require(findup('./bower.json'));
          return exec('bower', ['register', bowerPkg.name, pkg.repository.url]);
      },
  
      install : function() {
          return exec('bower', ['install']);
      }
  };
subject: move bower package dependency into the bower function