-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.js
More file actions
24 lines (22 loc) · 708 Bytes
/
Copy pathpackage.js
File metadata and controls
24 lines (22 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Package.describe({
name: 'glasser:reactive-fromnow',
version: '0.0.1',
summary: 'Reactively display fromNow() from moment.js',
git: 'https://github.com/glasser/reactive-fromnow',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.0.4.2');
api.use('momentjs:moment@2.9.0');
api.use('tracker');
api.addFiles('reactive-fromnow.js', 'client');
api.export('ReactiveFromNow', 'client');
api.export('ReactiveFromNowTest', 'client', { testOnly: true });
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('glasser:reactive-fromnow');
api.use('tracker');
api.use('momentjs:moment');
api.addFiles('reactive-fromnow-tests.js', 'client');
});