code: function bump(type) {
      if (type === void 0) { type = 'patch'; }
      var _pkg = pkg();
      if (!_pkg || !_pkg.version)
          logger_1.log.error('failed to load package.json, are you sure this is a valid project?');
      var origVer = _pkg.version;
      var newVer = semver_1.inc(origVer, type);
      if (newVer === null)
          logger_1.log.error('Whoops tried to bump version but got null.');
      _pkg.version = newVer;
      pkg(_pkg);
      return { name: _pkg.name, version: _pkg.version, previous: origVer, current: _pkg.version };
  }
docs: Bump
  : Bumps the package version.
  
  @param type the release type to increment the package by.