-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.js
41 lines (32 loc) · 865 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
36
37
38
39
40
41
Package.describe({
"summary": "Reactive Data Source for Search",
"version": "1.4.3
"git": "https://github.com/meteorhacks/search-source.git",
"name": "meteorhacks:search-source"
});
Npm.depends({
"body-parser": "1.10.1"
});
Package.onUse(function(api) {
configurePackage(api);
api.export(['SearchSource']);
});
Package.onTest(function(api) {
configurePackage(api);
api.use(['tinytest', 'mongo-livedata'], ['client', 'server']);
});
function configurePackage(api) {
api.versionsFrom('[email protected]');
api.use([
'tracker', 'underscore', 'mongo', 'reactive-var',
'http', 'ejson', 'check', 'ddp'
], ['client']);
api.use(['ejson', 'check', 'ddp'], ['server']);
api.use('meteorhacks:[email protected]', 'server');
api.add_files([
'lib/server.js',
], ['server']);
api.add_files([
'lib/client.js',
], ['client']);
}