-
Notifications
You must be signed in to change notification settings - Fork 217
/
package.js
40 lines (32 loc) · 1.14 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
Package.describe({
summary: "Bootstrap styled version of login widgets"
});
Package.on_use(function (api) {
api.use(['deps', 'service-configuration', 'accounts-base',
'underscore', 'templating', 'session'], 'client');
// Export Accounts (etc) to packages using this one.
api.imply('accounts-base', ['client', 'server']);
// Allow us to call Accounts.oauth.serviceNames, if there are any OAuth
// services.
api.use('accounts-oauth', {weak: true});
// Allow us to directly test if accounts-password (which doesn't use
// Accounts.oauth.registerService) exists.
api.use('accounts-password', {weak: true});
api.add_files([
'accounts_ui.js',
'login_buttons_images.css',
'login_buttons.html',
'login_buttons_single.html',
'login_buttons_dropdown.html',
'login_buttons_dialogs.html',
'login_buttons_session.js',
'login_buttons.js',
'login_buttons_single.js',
'login_buttons_dropdown.js',
'login_buttons_dialogs.js'], 'client');
});
Package.on_test(function (api) {
//api.use('meteor-accounts-ui-bootstrap');
//api.use('tinytest');
//api.add_files('accounts_ui_tests.js', 'client');
});