// Meteor package definition.
Package.describe({
  name: 'aramk:comments',
  version: '1.0.0',
  summary: 'User comments',
  git: 'https://github.com/aramk/meteor-comments.git'
});

Package.onUse(function (api) {
  api.versionsFrom('METEOR@1.6.1');
  api.use([
    'coffeescript@1.2.3',
    'underscore',
    'templating@1.3.2',
    'less',
    'reactive-var@1.0.4',
    'tracker@1.0.5',
    'aldeed:simple-schema@1.3.2',
    'aldeed:collection2@2.3.3',
    'urbanetic:utility@2.0.0'
  ], ['client', 'server']);
  api.use([
    'semantic:ui-css@2.1.2'
  ], {weak: true});
  api.imply('semantic:ui-css');
  api.export([
    'Comments'
  ], ['client', 'server']);
  api.addFiles([
    'src/comment.html',
    'src/comment.coffee',
    'src/commentList.html',
    'src/commentList.coffee',
    'src/layout.less',
    'src/commentList.less',
    'src/commentForm.html',
    'src/commentForm.coffee'
  ], 'client');
  api.addFiles([
    'src/Comments.coffee'
  ], ['client', 'server']);
});

// Meteor package definition.
Package.describe({
  name: 'aramk:comments',
  version: '1.0.0_1',
  summary: 'User comments',
  git: 'https://github.com/aramk/meteor-comments.git'
});

Package.onUse(function (api) {
  api.versionsFrom('METEOR@1.6.1');
  api.use([
    'coffeescript@2.2.1_1',
    'underscore',
    'templating@1.3.2',
    'less',
    'reactive-var@1.0.4',
    'tracker@1.0.5',
    'aldeed:simple-schema@1.3.2',
    'aldeed:collection2@2.3.3',
    'urbanetic:utility@2.0.0'
  ], ['client', 'server']);
  api.use([
    'semantic:ui-css@2.1.2'
  ], {weak: true});
  api.imply('semantic:ui-css');
  api.export([
    'Comments'
  ], ['client', 'server']);
  api.addFiles([
    'src/comment.html',
    'src/comment.coffee',
    'src/commentList.html',
    'src/commentList.coffee',
    'src/layout.less',
    'src/commentList.less',
    'src/commentForm.html',
    'src/commentForm.coffee'
  ], 'client');
  api.addFiles([
    'src/Comments.coffee'
  ], ['client', 'server']);
});

Update coffeescript