-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.js
42 lines (33 loc) · 846 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
34
35
36
37
38
39
40
41
42
Package.describe({
name: 'monbro:iron-router-breadcrumb',
summary: 'This package will provide a easy way to add a breadcrumb to Iron.Router with enough flexibility.',
version: '1.0.10',
git: 'https://github.com/monbro/meteor-breadcrumb-plugin/'
});
function configurePackage(api) {
if(api.versionsFrom) {
api.versionsFrom('[email protected]');
}
// Core Dependencies
api.use(
[
'ui',
'underscore',
'meteor'
]
);
api.use('iron:[email protected]', 'client');
api.addFiles('lib/breadcrumb.js');
api.addFiles('lib/breadcrumb.html');
api.export('Breadcrumb');
}
Package.onUse(function(api) {
configurePackage(api);
});
Package.onTest(function(api) {
configurePackage(api);
api.use('tinytest');
api.addFiles('tests/breadcrumb-tests.js');
});