-
Notifications
You must be signed in to change notification settings - Fork 97
/
package.js
75 lines (67 loc) · 2.7 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
_RELEASE_VERSION = "2.0.7";
Package.describe({
name: "houston:admin",
summary: "A zero-config Meteor Admin",
version: _RELEASE_VERSION,
git: "https://github.com/gterrono/houston.git"
});
Package.on_use(function(api) {
api.versionsFrom('[email protected]');
//////////////////////////////////////////////////////////////////
// Meteor-provided packages
//////////////////////////////////////////////////////////////////
api.use('[email protected]', ['client', 'server']);
api.use('[email protected]', ['client', 'server']);
api.use('[email protected]', ['client', 'server']); // ?optional
api.use('[email protected]', ['client', 'server']);
api.use('[email protected]', 'client'); // ?optional
api.use('[email protected]', ['client', 'server']);
api.use('[email protected]', 'client');
api.use('[email protected]', ['client', 'server']);
//////////////////////////////////////////////////////////////////
// Third-party package dependencies
//////////////////////////////////////////////////////////////////
api.use('iron:[email protected]', 'client');
api.use('tmeasday:[email protected]', 'client');
api.use('dburles:[email protected]', ['client', 'server']);
//////////////////////////////////////////////////////////////////
// internal files
//////////////////////////////////////////////////////////////////
// load html first, https://github.com/meteor/meteor/issues/282
api.add_files([
// views
'client/admin_login.html', 'client/db_view.html',
'client/collection_view.html', 'client/document_view.html',
'client/admin_change_password.html', 'client/custom_template_view.html',
// partials
'client/partials/admin_nav.html',
'client/partials/flash_message.html',
'client/partials/custom_actions.html',
// layout
'client/master_layout.html',
'client/third-party/collapse.js.html',
'client/third-party/bootstrap.html',
'client/style.css.html'
],
'client');
api.add_files(['lib/collections.coffee',
'lib/shared.coffee',
'lib/menu.coffee'],
['client', 'server']);
api.add_files([
// shared
'client/lib/shared.coffee',
// shared partials
'client/partials/admin_nav.coffee',
'client/partials/flash_message.coffee',
'client/partials/custom_actions.coffee',
// view logic
'client/custom_template_view.coffee', 'client/admin_login.coffee',
'client/collection_view.coffee', 'client/document_view.coffee',
'client/admin_change_password.coffee', 'client/db_view.coffee',
// router
'client/router.coffee'
],
'client');
api.add_files(['server/publications.coffee', 'server/exports.coffee', 'server/methods.coffee'], 'server');
});