Package.describe({
  summary: "A package that provides a blog at /blog",
  version: "0.5.4",
  name: "ryw:blog",
  git: "https://github.com/Differential/meteor-blog.git"
});

Package.onUse(function(api) {
  api.versionsFrom('METEOR@0.9.0');

  var both = ['client', 'server'];

  /**
   * Packages for client
   */

  api.use([
    'session',
    'templating',
    'ui',
    'less',
    'aslagle:reactive-table@0.4.0',
    'joshowens:shareit@0.1.0'
  ], 'client');

  /**
   * Files for client
   */

  api.addFiles([
    'client/stylesheets/lib/side-comments/side-comments.css',
    'client/stylesheets/lib/side-comments/default.css',
    'client/stylesheets/lib/medium-editor.css',
    'client/stylesheets/lib/medium-themes/bootstrap.css',
    'client/stylesheets/lib/medium-editor-insert-plugin.css',
    'client/stylesheets/lib/bootstrap-tagsinput.css',
    'client/boot.coffee',
    'client/compatibility/side-comments.js',
    'client/compatibility/medium-editor.js',
    'client/compatibility/medium-editor-insert-plugin.all.js',
    'client/compatibility/bootstrap-tagsinput.js',
    'client/compatibility/typeahead.jquery.js',
    'client/compatibility/beautify-html.js',
    'client/compatibility/highlight.pack.js',
    'client/views/404.html',
    'client/views/dynamic.html',
    'client/views/dynamic.coffee',
    'client/views/admin/admin.less',
    'client/views/admin/admin.html',
    'client/views/admin/admin.coffee',
    'client/views/admin/edit.html',
    'client/views/admin/edit.coffee',
    'client/views/blog/blog.less',
    'client/views/blog/blog.html',
    'client/views/blog/show.html',
    'client/views/blog/blog.coffee',
    'client/views/widget/latest.html',
    'client/views/widget/latest.coffee'
  ], 'client');

  /**
   * Static assets for client
   */

  api.addFiles([
    'public/default-user.png',
    'client/stylesheets/images/remove.png',
    'client/stylesheets/images/resize-bigger.png',
    'client/stylesheets/images/resize-smaller.png'
  ], 'client', { isAsset: true });

  /**
   * Files for server
   */

  api.addFiles([
    'collections/config.coffee',
    'server/boot.coffee',
    'server/rss.coffee',
    'server/publications.coffee'
  ], 'server');

  /**
   * Packages for server
   */

  Npm.depends({ rss: '0.0.4' });

  /**
   * Packages for server and client
   */

  api.use([
    'coffeescript',
    'deps',
    'iron:router',
    'accounts-base',
    'mrt:minimongoid@0.8.8',
    'mrt:moment@2.8.1',
    'mrt:filecollection@0.2.3',
    'alanning:roles@1.2.12'
  ], both);

  /**
   * Files for server and client
   */

  api.addFiles([
    'router.coffee',
    'collections/author.coffee',
    'collections/post.coffee',
    'collections/comment.coffee',
    'collections/tag.coffee',
    'collections/files.coffee'
  ], both);
});

Package.onTest(function (api) {
  api.use("ryw:blog", ['client', 'server']);
  api.use('tinytest', ['client', 'server']);
  api.use('test-helpers', ['client', 'server']);
  api.use('coffeescript', ['client', 'server']);

  api.add_files('test/server/rss.coffee', 'server');
});

@@ -2382,16 +2382,22 @@
 n:router
+@0.9.1
 ',%0A    '

Fix iron:router