Package.describe({
  name: "babel-compiler",
  summary: "Parser/transpiler for ECMAScript 2015+ syntax",
  // Tracks the npm version below.  Use wrap numbers to increment
  // without incrementing the npm version.  Hmm-- Apparently this
  // isn't possible because you can't publish a non-recommended
  // release with package versions that don't have a pre-release
  // identifier at the end (eg, -dev)
  version: '6.19.0-beta.14'
});

Npm.depends({
  'meteor-babel': '0.19.1'
});

Package.onUse(function (api) {
  api.use('ecmascript-runtime');

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

  api.export('Babel', 'server');
  api.export('BabelCompiler', 'server');
});

Package.describe({
  name: "babel-compiler",
  summary: "Parser/transpiler for ECMAScript 2015+ syntax",
  // Tracks the npm version below.  Use wrap numbers to increment
  // without incrementing the npm version.  Hmm-- Apparently this
  // isn't possible because you can't publish a non-recommended
  // release with package versions that don't have a pre-release
  // identifier at the end (eg, -dev)
  version: '6.19.0-beta.14'
});

Npm.depends({
  'meteor-babel': '0.19.1'
});

Package.onUse(function (api) {
  api.use('ecmascript-runtime', 'server');

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

  api.export('Babel', 'server');
  api.export('BabelCompiler', 'server');
});

Make babel-runtime use ecmascript-runtime on server only.
Make babel-runtime use ecmascript-runtime on server only.
