Files
meteor/packages/ecmascript-runtime/package.js
Ben Newman 232ab2d209 Bump package versions for 1.4.2-beta.9 release.
I had to scrap the 1.4.2-beta.8 release because meteor-tool@1.4.2-beta.8
got published by a partial run of the publish-release script, but then the
publish-release script thought meteor-tool changed after that, and I
didn't want to republish it as something like 1.4.2-1-beta.8.
2016-10-05 18:42:56 -04:00

36 lines
909 B
JavaScript

Package.describe({
name: "ecmascript-runtime",
version: "0.3.15-beta.9",
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.9",
});
Package.onUse(function(api) {
// If the es5-shim package is installed, make sure it loads before
// ecmascript-runtime, since ecmascript-runtime uses some ES5 APIs like
// Object.defineProperties that are buggy in older browsers.
api.use("es5-shim@4.6.13", { weak: true });
api.use("modules@0.7.5");
api.use("promise@0.8.3");
api.mainModule("runtime.js");
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");
});