Package.describe({
  summary: 'Dynamically create and update templates and their data contexts.',
  version: "0.4.0",
  git: "https://github.com/eventedmind/iron-dynamic-template"
});

Package.on_use(function (api) {
  api.versionsFrom('METEOR@0.9.1');

  api.use('blaze');
  api.use('underscore');
  api.use('ui');
  api.use('jquery');
  api.use('deps');
  api.use('templating');

  api.use('iron:core@0.3.2');
  api.imply('iron:core');

  api.add_files('version_conflict_error.js');
  api.add_files('dynamic_template.js');
});

Package.on_test(function (api) {
  api.use('iron:dynamic-template');
  api.use('templating');
  api.use('tinytest');
  api.use('test-helpers');
  api.use('blaze');
  api.use('deps');

  api.add_files('dynamic_template_test.html', 'client');
  api.add_files('dynamic_template_test.js', 'client');
});

Package.describe({
  summary: 'Dynamically create and update templates and their data contexts.',
  version: "0.4.0-blaze-preview",
  git: "https://github.com/eventedmind/iron-dynamic-template"
});

Package.on_use(function (api) {
  api.versionsFrom('METEOR@0.9.0.1-blaze-preview');

  api.use('blaze');
  api.use('underscore');
  api.use('ui');
  api.use('jquery');
  api.use('deps');
  api.use('templating');

  api.use('iron:core@0.3.2');
  api.imply('iron:core');

  api.add_files('version_conflict_error.js');
  api.add_files('dynamic_template.js');
});

Package.on_test(function (api) {
  api.use('iron:dynamic-template');
  api.use('templating');
  api.use('tinytest');
  api.use('test-helpers');
  api.use('blaze');
  api.use('deps');

  api.add_files('dynamic_template_test.html', 'client');
  api.add_files('dynamic_template_test.js', 'client');
});

fix package versions for blaze-preview