-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
92 lines (79 loc) · 3.22 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
Package.describe({
name: 'softbricks:user-management-materialize',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: '',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function (api) {
api.versionsFrom('1.0.5');
api.use(['templating', 'underscore'], 'client');
api.use('useraccounts:materialize', ['client', 'server']);
api.use('softbricks:user-management', ['client', 'server']);
api.use('gildaspk:autoform-materialize', ['client']);
api.imply('softbricks:[email protected]', ['client', 'server']);
// TO-DO add compiled css files!
api.use('stolinski:stylus-multi');
api.addFiles(['lib/stylesheets/list.styl'], 'client');
api.addFiles(['lib/stylesheets/buttons.styl'], 'client');
api.addFiles(['lib/stylesheets/inputs.styl'], 'client');
api.addFiles(['lib/stylesheets/navbar.styl'], 'client');
api.addFiles(['lib/stylesheets/form.styl'], 'client');
api.addFiles(['lib/style.css'], 'client');
api.addFiles('lib/templates/helpers.js', 'client');
api.addFiles(['lib/templates/components/infoItem.html',
'lib/templates/components/infoItem.js'
], 'client');
api.addFiles(['lib/templates/components/autoView.html',
'lib/templates/components/autoView.js'
], 'client');
api.addFiles(['lib/templates/users/showUsers.html'], 'client');
api.addFiles(['lib/templates/users/showUsers.js'], 'client');
api.addFiles(['lib/templates/users/sideBarElement.html'], 'client');
api.addFiles(['lib/templates/users/sideBarElement.js'], 'client');
api.addFiles(['lib/templates/users/showUser.html',
'lib/templates/users/showUser.js'
], 'client');
api.addFiles(['lib/templates/users/showUserToolbar.html',
'lib/templates/users/showUserToolbar.js'
], 'client');
api.addFiles(['lib/templates/users/editUser.html',
'lib/templates/users/editUser.js'
], 'client');
api.addFiles(['lib/templates/users/createUser.html',
'lib/templates/users/createUser.js'
], 'client');
api.addFiles(['lib/templates/groups/showGroupMembers.html',
'lib/templates/groups/showGroupMembers.js'
], 'client');
api.addFiles(['lib/templates/groups/showGroups.html',
'lib/templates/groups/showGroups.js'
], 'client');
api.addFiles(['lib/templates/groups/createGroup.html',
'lib/templates/groups/createGroup.js'
], 'client');
api.addFiles(['lib/templates/groups/showGroup.html',
'lib/templates/groups/showGroup.js'
], 'client');
api.addFiles(['lib/templates/groups/sideBarElementGroup.html',
'lib/templates/groups/sideBarElementGroup.js'
], 'client');
api.addFiles(['lib/templates/groups/editGroup.html',
'lib/templates/groups/editGroup.js'
], 'client');
api.addFiles(['lib/templates/users/searchUser.html',
'lib/templates/users/searchUser.js'
], 'client');
});
Package.onTest(function (api) {
api.use(['mike:[email protected]', "practicalmeteor:chai"]);
api.use('softbricks:user-management', ['client', 'server']);
api.use(['accounts-password']);
api.use('meteorhacks:flow-router');
api.addFiles('tests/client/sampleClientTest.js', ['client']);
api.addFiles('tests/server/sampleServerTest.js', ['server']);
});