(function() {

  'use strict';

  Package.describe({
    name: 'rsbatech:robotframework',
    summary: 'Robot Framework for Meteor Velocity',
    version: '0.1.0',
    git: 'https://github.com/rjsmith/meteor-robotframework',
    debugOnly: true
  });

  Npm.depends({
    // https://github.com/assistunion/xml-stream
    'xml-stream': '0.4.5',
    // https://github.com/isaacs/rimraf
    'rimraf': '2.2.8',
    'phantomjs': '1.9.13',
    'chromedriver': '2.13.0'
  })

  Package.onUse(function(api) {
    api.use([
      'velocity:core@0.4.5',
      'velocity:node-soft-mirror@0.2.5',
      'velocity:shim@0.0.3',
      //'xolvio:webdriver@0.1.3',
      'underscore@1.0.2', 
      'momentjs:moment@2.8.4'
      ], ['server' , 'client']);

    api.use([
        'velocity:html-reporter@0.3.2'
      ], 'client');

    api.addFiles([
      'sample-tests/suites/resources.txt', 
      'sample-tests/suites/test-txt.txt',
      'sample-tests/suites/test-tsv.tsv',
      'sample-tests/suites/test-html.html',
      'sample-tests/arguments.txt'
      ], 'server', {isAsset: true});

    api.addFiles(['server.js'], 'server');

    api.export('robotframework', 'server');
    
  });


})();

(function() {

  'use strict';

  Package.describe({
    name: 'rsbatech:robotframework',
    summary: 'Robot Framework for Meteor Velocity',
    version: '0.1.0',
    git: 'https://github.com/rjsmith/meteor-robotframework',
    debugOnly: true
  });

  Npm.depends({
    // https://github.com/assistunion/xml-stream
    'xml-stream': '0.4.5',
    // https://github.com/isaacs/rimraf
    'rimraf': '2.2.8',
    'phantomjs': '1.9.13',
    'chromedriver': '2.13.0'
  })

  Package.onUse(function(api) {
    api.use([
      'velocity:core@0.4.5',
      'velocity:node-soft-mirror@0.2.5',
      'velocity:shim@0.0.3',
      //'xolvio:webdriver@0.1.3',
      'underscore@1.0.2', 
      'momentjs:moment@2.8.4'
      ], ['server' , 'client']);

    api.use([
        'velocity:html-reporter@0.4.1'
      ], 'client');

    api.addFiles([
      'sample-tests/suites/resources.txt', 
      'sample-tests/suites/test-txt.txt',
      'sample-tests/suites/test-tsv.tsv',
      'sample-tests/suites/test-html.html',
      'sample-tests/arguments.txt'
      ], 'server', {isAsset: true});

    api.addFiles(['server.js'], 'server');

    api.export('robotframework', 'server');
    
  });


})();

Update dependency on html-reporter to v0.4.1