forked from gterrono/houston
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
32 lines (27 loc) · 1.29 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
Package.describe({
summary: "A zero-config Meteor Admin"
});
Package.on_use(function(api) {
api.use('deps', ['client', 'server']);
api.use('coffeescript', ['client', 'server']);
api.use('accounts-base', ['client', 'server']);
api.use('accounts-password', ['client', 'server']);
api.use(['templating', 'check', 'iron-router', 'spin', 'handlebars', 'paginated-subscription'], 'client');
// load html first, https://github.com/meteor/meteor/issues/282
api.add_files([
'client/bootstrap.html', 'client/style.html',
'client/admin_login.html', 'client/db_view.html',
'client/collection_view.html', 'client/document_view.html',
'client/admin_navbar.html', 'client/main.html',
'client/admin_change_password.html', 'client/custom_template_view.html'],
'client');
api.add_files([
'client/custom_template_view.coffee',
'client/router.coffee', 'client/admin_login.coffee',
'client/collection_view.coffee', 'client/document_view.coffee',
'client/zma_helpers.coffee', 'client/admin_change_password.coffee',
'client/admin_navbar.coffee', 'client/db_view.coffee'],
'client');
api.add_files(['lib/collections.coffee', 'lib/shared.coffee', 'lib/menu.coffee'], ['client', 'server']);
api.add_files(['server/publications.coffee', 'server/exports.coffee'], 'server');
});