-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.js
48 lines (37 loc) · 1.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
Package.describe({
name: 'iron:layout',
summary: 'Dynamic layouts which enable rendering dynamic templates into regions on a page.',
version: '1.0.12',
git: 'https://github.com/iron-meteor/iron-layout'
});
Package.on_use(function (api) {
api.versionsFrom('[email protected]');
// so our default_layout gets compiled
api.use('templating');
api.use('blaze');
// some utils
api.use('underscore');
api.use('tracker'); // for Deps
api.use('iron:[email protected]');
api.imply('iron:core');
// dynamic templates
api.use('iron:[email protected]');
// if you use iron-layout you should get iron-dynamic-template for free!
api.imply('iron:dynamic-template');
// error messages to remove old packages
api.use('cmather:[email protected]', {weak: true});
api.use('cmather:[email protected]', {weak: true});
api.add_files('version_conflict_errors.js');
api.add_files('default_layout.html');
api.add_files('layout.js');
});
Package.on_test(function (api) {
api.versionsFrom('[email protected]');
api.use('iron:layout');
api.use('tinytest');
api.use('test-helpers');
api.use('templating');
api.use('deps');
api.add_files('layout_test.html', 'client');
api.add_files('layout_test.js', 'client');
});