-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
49 lines (44 loc) · 1.19 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Package.describe({
name: 'pathable:publish-composite',
summary: 'Publish a set of related documents from multiple collections with a reactive join',
version: '1.8.4',
git: 'https://github.com/pathable/meteor-publish-composite.git',
});
Package.onUse((api) => {
api.versionsFrom('1.6.1');
api.use([
'check',
'ecmascript',
'modules',
'underscore',
], ['client', 'server']);
api.mainModule('lib/publish_composite.js', 'server');
api.addFiles([
'lib/doc_ref_counter.js',
'lib/logging.js',
'lib/publication.js',
'lib/subscription.js',
], 'server');
api.export([
'enableDebugLogging',
'publishComposite',
], 'server');
});
Package.onTest((api) => {
api.use([
'ecmascript',
'modules',
], ['client', 'server']);
api.use([
'cultofcoders:mocha',
'practicalmeteor:chai',
], 'client');
api.use([
'pathable:publish-composite',
'mongo',
'underscore',
], 'server');
api.addFiles('tests/common.js', ['client', 'server']);
api.addFiles('tests/client.js', 'client');
api.addFiles('tests/server.js', 'server');
});