-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
31 lines (27 loc) · 868 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
Package.describe({
name: 'jam:pub-sub',
version: '0.3.1',
summary: 'Publish / subscribe using a Method and/or Change Streams, and cache subscriptions',
git: 'https://github.com/jamauro/pub-sub.git',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom(['2.8.1', '3.0']);
api.use(['ecmascript', 'check', 'tracker', 'random', 'ejson', 'mongo-id'], 'client');
api.use(['ecmascript', 'check', 'mongo', 'mongo-id', 'ddp-client', 'ejson'], 'server');
api.use('zodern:types@1.0.13');
api.mainModule('client.js', 'client');
api.mainModule('server.js', 'server');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('mongo');
api.use('tracker');
api.use('accounts-password');
api.use('jam:pub-sub');
Npm.depends({
lodash: '4.17.15',
});
api.mainModule('tests.js');
});