-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.js
55 lines (50 loc) · 1.26 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
50
51
52
53
54
55
/* globals Package Npm */
Package.describe({
name: 'reywood:publish-composite',
summary: 'Publish a set of related documents from multiple collections with a reactive join.',
version: '1.8.12',
git: 'https://github.com/Meteor-Community-Packages/meteor-publish-composite'
})
Npm.depends({
'lodash.isequal': '4.5.0'
})
Package.onUse((api) => {
api.versionsFrom(['1.8.3', '2.8.1', '3.0'])
api.use([
'check',
'ecmascript',
'modules',
'logging',
'ddp'
], ['server'])
api.use('zodern:types@1.0.13')
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')
})
// meteor test-packages reywood:publish-composite --driver-package meteortesting:mocha
Package.onTest((api) => {
api.use([
'ecmascript',
'modules',
'mongo'
], ['client', 'server'])
api.use([
'meteortesting:mocha@3.2.0'
], 'client')
api.use([
'reywood:publish-composite',
'underscore'
], 'server')
api.addFiles('tests/common.js', ['client', 'server'])
api.addFiles('tests/client.js', 'client')
api.addFiles('tests/server.js', 'server')
})