-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.js
33 lines (29 loc) · 884 Bytes
/
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
Package.describe({
summary: 'Layout Manager for Blaze (works well with FlowRouter)',
version: '2.3.0',
git: 'https://github.com/kadirahq/blaze-layout',
name: "kadira:blaze-layout"
});
Package.onUse(function (api) {
configure(api);
api.export(['BlazeLayout']);
});
Package.onTest(function(api) {
configure(api);
api.use('tinytest');
api.addFiles('tests/client/init.templates.html', 'client');
api.addFiles('tests/client/init.templates.js', 'client');
api.addFiles('tests/client/unit.js', 'client');
api.addFiles('tests/client/integration.js', 'client');
});
function configure(api) {
api.versionsFrom('1.0');
api.use('blaze');
api.use('templating');
api.use('reactive-dict');
api.use('underscore');
api.use('jquery');
api.use('tracker');
api.addFiles('lib/client/namespace.js', 'client');
api.addFiles('lib/client/layout.js', 'client');
}