-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.js
44 lines (34 loc) · 1.08 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
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.1',
git: 'https://github.com/monbro/meteor-breadcrumb-plugin/'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.addFiles('lib/breadcrumb.js');
api.use([
'templating',
'meteor',
'ui',
"iron:[email protected]",
], "client");
// main namespace and utils
api.use('iron:[email protected]');
// ui layout
api.use('iron:[email protected]');
// connect like middleware stack for client/server
api.use('iron:[email protected]');
// client and server side url utilities and compiling
api.use('iron:[email protected]');
// for reactive urls and pushState in the browser
api.use('iron:[email protected]');
// for RouteController which inherits from this
api.use('iron:[email protected]');
api.export('Breadcrumb', ['client', 'server']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('monbro:iron-router-breadcrumb');
api.addFiles('lib/breadcrumb-tests.js');
});