-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.js
39 lines (32 loc) · 1.06 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
Package.describe({
name: 'iron:controller',
summary: 'Controller class for dynamic layouts.',
version: '1.0.12',
git: 'https://github.com/iron-meteor/iron-controller'
});
Package.on_use(function (api) {
api.versionsFrom('[email protected]');
api.use('underscore');
api.use('tracker'); // reactivity
api.use('reactive-dict'); // reactive state variables
api.use('templating');
api.use('iron:[email protected]');
api.imply('iron:core');
api.use('iron:[email protected]');
api.use('iron:[email protected]');
api.add_files('lib/wait_list.js', 'client');
api.add_files('lib/controller.js');
api.add_files('lib/controller_server.js', 'server');
api.add_files('lib/controller_client.js', 'client');
});
Package.on_test(function (api) {
api.use('iron:controller');
api.use('iron:layout');
api.use('tinytest');
api.use('test-helpers');
api.use('tracker');
api.use('templating');
api.add_files('test/controller_test.html', 'client');
api.add_files('test/wait_list_test.js', 'client');
api.add_files('test/controller_test.js', 'client');
});