-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.js
50 lines (41 loc) · 1.02 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
Package.describe({
name: 'hb5:drupal-ddp',
summary: 'Drupal and Meteor integration over DDP',
git: 'https://github.com/hb5co/drupal-ddp',
version: '0.1.4'
});
Package.onUse(function(api) {
api.versionsFrom('1.0.3.1');
api.use('npm-bcrypt@=0.7.8_2');
var both = ['client', 'server'];
// Packages for Client & Server.
api.use([
'mongo',
'accounts-password',
'http'
], both);
// Packages for Server.
api.use('matteodem:[email protected]', 'server');
// Files for Client.
api.addFiles([
'client/methods.js',
], both);
// Files for Client & Server.
api.addFiles([
'collections/taxonomies.js',
], both);
// Files for Server.
api.addFiles([
'server/methods.js',
'server/config.js'
], 'server');
// Publish Collections to Client.
api.export('drupalDdpTaxonomies');
api.export('DrupalDdp');
});
Package.onTest(function(api) {
api.use('tinytest');
api.addFiles('server/config.js');
api.addFiles('server/methods.js');
api.addFiles('tests.js');
});