forked from gitter-badger/Herald
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
35 lines (29 loc) · 907 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
28
29
30
31
32
33
34
35
Package.describe({
summary: "A Universal Notifications Engine",
version: "1.3.0",
git: "https://github.com/Meteor-Reaction/Herald.git",
name: 'kestanous:herald'
});
Package.onUse(function(api) {
api.versionsFrom('[email protected]');
api.use(['check', 'underscore', 'tracker','accounts-base', 'blaze']);
//if iron route is present add 'seen route' logic
api.use('iron:[email protected] || 1.0.0', ['server', 'client'], {weak: true});
api.use('artwells:[email protected]', 'server', {weak: true})
api.addFiles([
'lib/$herald.js',
'lib/collection.js',
'lib/couriers.js',
'lib/runners.js',
'lib/users.js',
'lib/onsite.js',
'lib/helpers.js'
]);
api.addFiles(['client/startup.js', 'client/escalate.js'], 'client');
api.addFiles([
'server/createNotification.js',
'server/escalate.js',
'server/publish.js'
], 'server');
api.export(['Herald']);
});