forked from rfox90/meteor-breadcrumb-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.js
More file actions
36 lines (29 loc) · 800 Bytes
/
Copy pathpackage.js
File metadata and controls
36 lines (29 loc) · 800 Bytes
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
Package.describe({
name: 'sojourneer:flow-router-breadcrumb',
summary: 'Provide a easy and flexible way to add breadcrumb trail support for FlowRouter.',
version: '1.2.0',
git: 'https://github.com/Sojourneer/meteor-breadcrumb-plugin.git'
});
function configurePackage(api) {
// Core Dependencies
api.use(
[
'blaze@2.0.0',
'templating@1.0.5',
'underscore@1.0.4',
'meteor@1.1.10'
]
);
api.use('kadira:flow-router@2.8.0', 'client');
api.addFiles('lib/breadcrumb.html',['client']);
api.addFiles('lib/breadcrumb.js',['client']);
api.export('Breadcrumb');
}
Package.onUse(function(api) {
configurePackage(api);
});
Package.onTest(function(api) {
configurePackage(api);
api.use('tinytest');
api.addFiles('tests/breadcrumb-tests.js');
});