-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
37 lines (31 loc) · 1.18 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
Package.describe({
name: 'tadas:celery-mongo',
version: '0.0.3',
// Brief, one-line summary of the package.
summary: 'Meteor integration with Celery distributed task queue',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/tadasdanielius/celery-mongo',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.3');
api.use(['promise@0.4.1']);
api.use(['mongo']);
api.use( 'livedata', [ 'server' ] ) ;
api.addFiles('celery.js');
api.addFiles('CeleryTask.js');
api.addFiles('util.js');
api.addFiles('client/celery.client.js',['client']);
api.addFiles(['server/celery.message.js',
'server/celery.security.js', 'server/celery.postcalls.js',
'server/celery.server.js'],['server']);
api.export(['CelerySecurity', 'CeleryPostCalls'],['server']);
api.export(['CeleryTask'],['client','server']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('tadas:celery-mongo');
api.addFiles('celery-mongo-tests.js');
});