forked from artwells/meteor-accounts-guest
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.js
31 lines (28 loc) · 1.05 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
"use strict";
Package.describe({
summary: "Support anonymous logins",
version: "0.3.1",
name: "brettle:accounts-anonymous",
git: "https://github.com/brettle/meteor-accounts-anonymous.git"
});
Package.onUse(function(api) {
api.versionsFrom('1.0.4');
api.use(['accounts-base'], 'client');
api.use(['accounts-base', 'callback-hook'], 'server');
api.use('underscore', 'server');
api.use('brettle:[email protected]', 'server');
api.addFiles('accounts-anonymous.js', ['client', 'server']);
api.export('AccountsAnonymous');
api.addFiles('accounts-anonymous-server.js', 'server');
api.addFiles('accounts-anonymous-client.js', 'client');
});
Package.onTest(function(api) {
api.versionsFrom('1.0.4');
api.use(['brettle:[email protected]', 'accounts-base', 'tinytest'],
['client', 'server']);
api.use('brettle:[email protected]');
api.use('accounts-password', 'server');
api.use('ddp', 'server');
api.addFiles('accounts-anonymous-server-tests.js', 'server');
api.addFiles('accounts-anonymous-client-tests.js', 'client');
});