-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
36 lines (31 loc) · 1.21 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
Package.describe({
name: 'typ:accounts-huddle',
summary: 'OAuth2 integration with Huddle',
version: '0.0.2',
documentation: './README.md',
git: 'https://github.com/typ90/meteor-accounts-huddle'
});
Package.onUse(function(api) {
api.versionsFrom('0.9.4');
api.use('accounts-base', ['client', 'server']);
api.use('service-configuration', ['client', 'server']);
// Export Accounts (etc) to packages using this one.
api.imply('accounts-base', ['client', 'server']);
api.imply('service-configuration', ['client', 'server']);
api.use('accounts-oauth', ['client', 'server']);
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', ['server']);
api.use(['underscore', 'service-configuration'], ['client', 'server']);
api.use(['random', 'templating'], 'client');
api.export('Huddle');
api.addFiles(['huddle_configure.html', 'huddle_configure.js'],'client');
api.addFiles('huddle_server.js', 'server');
api.addFiles('huddle_client.js', 'client');
api.addFiles('huddle.js', ['client', 'server']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('typ:accounts-huddle');
api.addFiles('huddle-tests.js');
});