forked from Differential/accounts-entry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
101 lines (90 loc) · 3.06 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
Package.describe({
summary: "This is joshowens:accounts-entry, with some features that are not in the official release yet.",
version: '1.3.0_1',
name: "appworkshop:accounts-entry",
githubUrl: 'https://github.com/AppWorkshop/accounts-entry',
});
Package.onUse(function (api) {
api.versionsFrom("[email protected]");
api.use([
'ecmascript',
'appworkshop:[email protected]',
'iron:[email protected]',
'appworkshop:[email protected]',
'sacha:[email protected]'
], ['client', 'server']);
// CLIENT
api.use([
'less',
'sha']
, 'client');
api.addFiles([
'client/entry.coffee',
'client/entry.less',
'client/helpers.coffee',
'client/views/signIn/signIn.html',
'client/views/signIn/signIn.coffee',
'client/views/signUp/signUp.html',
'client/views/signUp/signUp.coffee',
'client/views/signUp/extraSignUpFields.html',
'client/views/signUp/extraSignUpFields.coffee',
'client/views/forgotPassword/forgotPassword.html',
'client/views/forgotPassword/forgotPassword.coffee',
'client/views/resetPassword/resetPassword.html',
'client/views/resetPassword/resetPassword.coffee',
'client/views/enrollAccount/enrollAccount.html',
'client/views/enrollAccount/enrollAccount.coffee',
'client/views/social/social.html',
'client/views/social/social.coffee',
'client/views/error/error.html',
'client/views/error/error.coffee',
'client/views/accountButtons/accountButtons.html',
'client/views/accountButtons/_wrapLinks.html',
'client/views/accountButtons/signedIn.html',
'client/views/accountButtons/accountButtons.coffee',
'client/views/verificationPending/verificationPending.html',
'client/views/verificationPending/verificationPending.coffee',
'client/t9n/english.coffee',
'client/t9n/french.coffee',
'client/t9n/german.coffee',
'client/t9n/italian.coffee',
'client/t9n/polish.coffee',
'client/t9n/spanish.coffee',
'client/t9n/swedish.coffee',
'client/t9n/portuguese.coffee',
'client/t9n/slovene.coffee',
'client/t9n/russian.coffee',
'client/t9n/arabic.coffee',
'client/t9n/hebrew.coffee'
], 'client');
// SERVER
api.use([
'deps',
'service-configuration',
'accounts-password',
'accounts-base',
'underscore',
'coffeescript'
], 'server');
api.addFiles(['server/entry.coffee'], 'server');
// CLIENT and SERVER
api.imply('accounts-base', ['client', 'server']);
api.imply('accounts-password', ['client', 'server']);
api.export('AccountsEntry', ['client', 'server']);
api.addFiles(['shared/router.coffee'], ['client', 'server']);
});
Package.onTest(function (api) {
api.use(['tinytest',
'underscore',
'handlebars',
'test-helpers',
'templating',
'mongo-livedata',
'coffeescript'
]);
api.use(['iron:router', 'softwarerero:accounts-t9n', 'joshowens:simple-form'], ['client', 'server']);
api.use('appworkshop:accounts-entry');
api.addFiles(['tests/route.coffee', 'tests/client.html', 'tests/client.coffee'], 'client');
});