mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
26 lines
505 B
JavaScript
26 lines
505 B
JavaScript
Package.describe({
|
|
name: "babel-compiler",
|
|
summary: "Parser/transpiler for ECMAScript 2015+ syntax",
|
|
version: '7.11.0',
|
|
});
|
|
|
|
Npm.depends({
|
|
'@meteorjs/babel': '7.20.0-beta.4',
|
|
'json5': '2.1.1',
|
|
'semver': '7.3.8'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use('ecmascript-runtime', 'server');
|
|
api.use('modern-browsers');
|
|
|
|
api.addFiles([
|
|
'babel.js',
|
|
'babel-compiler.js',
|
|
'versions.js',
|
|
], 'server');
|
|
|
|
api.export('Babel', 'server');
|
|
api.export('BabelCompiler', 'server');
|
|
});
|