-
Notifications
You must be signed in to change notification settings - Fork 7k
/
package.js
27 lines (22 loc) · 653 Bytes
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// package metadata file for Meteor.js
'use strict';
var packageName = 'momentjs:moment'; // https://atmospherejs.com/momentjs/moment
Package.describe({
name: packageName,
summary: 'Moment.js (official): parse, validate, manipulate, and display dates - official Meteor packaging',
version: '2.30.0',
git: 'https://github.com/moment/moment.git'
});
Package.onUse(function (api) {
api.export('moment');
api.addFiles([
'moment.js',
'export.js'
]);
});
Package.onTest(function (api) {
api.use(packageName);
api.use('tinytest');
api.addFiles('test.js');
});