mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
27 lines
697 B
JavaScript
27 lines
697 B
JavaScript
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.14.0-rc.1'
|
|
});
|
|
|
|
Npm.depends({
|
|
'meteor-babel': '0.14.3'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use('ecmascript-runtime');
|
|
|
|
api.addFiles([
|
|
'babel.js',
|
|
'babel-compiler.js'
|
|
], 'server');
|
|
|
|
api.export('Babel', 'server');
|
|
api.export('BabelCompiler', 'server');
|
|
});
|