Package.describe({
  git: 'https://github.com/CollectionFS/Meteor-cfs-s3.git',
  name: 'cfs:s3',
  version: '0.1.0',
  summary: "Amazon Web Services S3 storage adapter for CollectionFS",
  git: "https://github.com/CollectionFS/Meteor-cfs-s3.git"
});

Npm.depends({
  'aws-sdk': "2.0.23",
  // 'temp': '0.7.0', // used by the s3.indirect.streaming.js
  // 'through2': '0.4.1', // used by the s3.upload.stream.js
  // 'backoff': '2.3.0', // used by the s3.upload.stream.js
  // 'bl': '0.7.0' // used by the s3.upload.stream.js
});

Package.onUse(function(api) {
  api.versionsFrom('1.0');

  api.use(['cfs:base-package@0.0.26', 'cfs:storage-adapter@0.1.0']);
  api.addFiles([
    's3.server.js',
    // 's3.indirect.streaming.js',
    // 's3.upload.stream.js',
    's3.upload.stream2.js',
    ], 'server');
  api.addFiles('s3.client.js', 'client');
});

Package.onTest(function(api) {
  api.use(['cfs:standard-packages', 'cfs:s3', 'test-helpers', 'tinytest'], 'server');
  api.addFiles('tests/server-tests.js', 'server');
  api.addFiles('tests/client-tests.js', 'client');
});

Package.describe({
  git: 'https://github.com/CollectionFS/Meteor-cfs-s3.git',
  name: 'cfs:s3',
  version: '0.1.1',
  summary: "Amazon Web Services S3 storage adapter for CollectionFS",
  git: "https://github.com/CollectionFS/Meteor-cfs-s3.git"
});

Npm.depends({
  'aws-sdk': "2.0.23",
  // 'temp': '0.7.0', // used by the s3.indirect.streaming.js
  // 'through2': '0.4.1', // used by the s3.upload.stream.js
  // 'backoff': '2.3.0', // used by the s3.upload.stream.js
  // 'bl': '0.7.0' // used by the s3.upload.stream.js
});

Package.onUse(function(api) {
  api.versionsFrom('1.0');

  api.use(['cfs:base-package@0.0.26', 'cfs:storage-adapter@0.1.0']);
  api.addFiles([
    's3.server.js',
    // 's3.indirect.streaming.js',
    // 's3.upload.stream.js',
    's3.upload.stream2.js',
    ], 'server');
  api.addFiles('s3.client.js', 'client');
});

Package.onTest(function(api) {
  api.use(['cfs:standard-packages', 'cfs:s3', 'test-helpers', 'tinytest'], 'server');
  api.addFiles('tests/server-tests.js', 'server');
  api.addFiles('tests/client-tests.js', 'client');
});

Bump to version 0.1.1