Package.describe({
  name: 'meteorblackbelt:iron-router-breadcrumb',
  summary: 'This package will provide a easy way to add a breadcrumb to Iron.Router with enough flexibility.',
  version: '1.0.15',
  git: 'https://github.com/meteorblackbelt/meteor-breadcrumb-plugin/'
});

function configurePackage(api) {

  if(api.versionsFrom) {
    api.versionsFrom('METEOR@0.9.0');
  }

  // Core Dependencies
  api.use(
    [
      'blaze@2.0.0',
      'templating@1.0.5',
      'underscore',
      'ui',
      'meteor'
    ]
  );

  api.use('iron:router@1.0.1', 'client');

  api.addFiles('lib/breadcrumb.js');
  api.addFiles('lib/breadcrumb.html');

  api.export('Breadcrumb');
}

Package.onUse(function(api) {
  configurePackage(api);
});

Package.onTest(function(api) {
  configurePackage(api);

  api.use('tinytest');
  api.addFiles('tests/breadcrumb-tests.js');
});

Package.describe({
  name: 'meteorblackbelt:iron-router-breadcrumb',
  summary: 'This package will provide a easy way to add a breadcrumb to Iron.Router with enough flexibility.',
  version: '1.0.16',
  git: 'https://github.com/meteorblackbelt/meteor-breadcrumb-plugin/'
});

function configurePackage(api) {

  if(api.versionsFrom) {
    api.versionsFrom('METEOR@0.9.0');
  }

  // Core Dependencies
  api.use(
    [
      'blaze@2.0.0',
      'templating@1.0.5',
      'underscore',
      'ui',
      'meteor'
    ]
  );

  api.use('iron:router@1.0.1', 'client');

  api.addFiles('lib/breadcrumb.js');
  api.addFiles('lib/breadcrumb.html');

  api.export('Breadcrumb');
}

Package.onUse(function(api) {
  configurePackage(api);
});

Package.onTest(function(api) {
  configurePackage(api);

  api.use('tinytest');
  api.addFiles('tests/breadcrumb-tests.js');
});

Bump version