forked from SharpenedSpoon/accounts-ui-semantic-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
executable file
·46 lines (36 loc) · 1.26 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
Package.describe({
name: 'iandouglas:accounts-ui-semantic-ui',
version: '1.2.2',
summary: 'Semantic UI styled accounts-ui',
git: 'https://github.com/SharpenedSpoon/accounts-ui-semantic-ui',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.0.4.1');
api.use(['tracker', '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.addFiles([
'accounts-ui-semantic-ui.js',
'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.onTest(function(api) {
api.use('tinytest');
api.use('iandouglas:accounts-ui-semantic-ui');
api.addFiles('accounts-ui-semantic-ui-tests.js');
});