forked from meteorblackbelt/meteor-breadcrumb-plugin
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.js
36 lines (29 loc) · 804 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
Package.describe({
name: 'ahref:flow-router-breadcrumb',
summary: 'This package will provide a easy way to add a breadcrumb to FlowRouter with enough flexibility.',
version: '1.1.0',
git: 'https://github.com/rfox90/meteor-breadcrumb-plugin/'
});
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');
});