twix
Version:
Twix.js allows you to work with date ranges
22 lines (17 loc) • 601 B
JavaScript
Package.describe({
name: "momentjs:twix",
summary: "Twix.js (official) by Isaac Cambron: a Moment.js plugin for working with date ranges.",
version: "1.3.0",
git: "https://github.com/icambron/twix.js.git",
});
// Makes Twix available both on the server and on the client
var where = ["client", "server"];
Package.onUse(function(api) {
// Please see latest available version for momentjs:moment on
// https://atmospherejs.com/momentjs/moment
api.use("momentjs:moment@2.10.6", where);
api.imply("momentjs:moment@2.10.6", where);
api.add_files([
"dist/twix.js"
], where);
});