forked from vazco/meteor-universe-accounts-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
46 lines (41 loc) · 1.35 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: 'universe:accounts-ui',
version: '0.3.1',
summary: 'Accounts UI replacement for Universe using React and Semantic UI',
documentation: 'README.md',
git: 'https://github.com/vazco/meteor-universe-accounts-ui'
});
Package.onUse(function (api) {
api.versionsFrom('1.3');
api.use([
'ecmascript',
'universe:[email protected]',
'service-configuration',
'accounts-base'
]);
// Export Accounts (etc) to packages using this one.
api.imply('accounts-base');
// Allow us to call Accounts.oauth.serviceNames, if there are any OAuth services.
// Allow us to directly test if accounts-password (which doesn't use Accounts.oauth.registerService) exists.
api.use([
'accounts-oauth',
'accounts-password'
], {weak: true});
api.addFiles([
'utils.js',
'components/ComboBox.jsx',
'components/ErrorMessages.jsx',
'components/LoggedIn.jsx',
'components/LoginBox.jsx',
'components/LoginForm.jsx',
'components/OAuthButton.jsx',
'components/PasswordForm.jsx',
'components/RegisterBox.jsx',
'components/RegisterForm.jsx',
'components/ResetPasswordBox.jsx',
'i18n/en.i18n.json',
'i18n/ru.i18n.json',
]);
api.mainModule('index.jsx');
});