Files
meteor/packages/ecmascript-runtime/package.js
Ben Newman d3878f08bc Rename ecmascript-collections to ecmascript-runtime, and add more to it.
Now that we're including more than just collections-related polyfills, a
more generic name seems appropriate.
2015-10-03 14:39:24 -04:00

34 lines
722 B
JavaScript

Package.describe({
name: "ecmascript-runtime",
version: "0.2.6",
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
git: "https://github.com/meteor/ecmascript-runtime",
documentation: "README.md"
});
Npm.depends({
"meteor-ecmascript-runtime": "0.2.6"
});
Package.onUse(function(api) {
api.addFiles("runtime.js", "server");
api.addFiles(
".npm/package/node_modules/meteor-ecmascript-runtime/client.js",
"client",
{ bare: true }
);
api.export("Symbol");
api.export("Map");
api.export("Set");
});
Package.onTest(function(api) {
api.use("tinytest");
api.use("check");
api.use("es5-shim");
api.use("ecmascript-runtime");
api.addFiles("runtime-tests.js");
});