-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.js
More file actions
22 lines (18 loc) · 789 Bytes
/
package.js
File metadata and controls
22 lines (18 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//I've submitted a PR to the base branch with our updates. Hopefully he'll merge those in soon and we'll be able to drop this branch.
Package.describe({
name: 'hellotech:moment-timezone',
summary: 'Timezone support for moment.js, packaged for Meteor',
version: '0.5.4',
git: 'https://github.com/HelloTech/meteor-moment-timezone'
});
Package.on_use(function (api, where) {
var where = where || ['client', 'server'];
var momentPackageName = !!Package.onUse ? "momentjs:moment@2.13.1" : "moment";
api.use(momentPackageName, where);
if (api.imply) {
api.imply(momentPackageName, where);
}
api.add_files('preFix.js', where);
api.add_files('lib/moment-timezone-with-data.js', where);
api.add_files('postFix.js', where);
});