-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
41 lines (35 loc) · 1002 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
Package.describe({
name: 'studiointeract:spiderable',
version: '0.9.5',
summary: 'Spiderable with Server Side Rendering (meteorhacks:ssr) and (iron:router).',
git: 'https://github.com/studiointeract/meteor-spiderable',
documentation: 'README.md'
});
Package.onUse(function(api) {
configurePackage(api);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('studiointeract:spiderable');
api.addFiles('spiderable-tests.js');
});
function configurePackage(api) {
api.versionsFrom('1.1.0.2');
api.use('meteor-platform');
api.use('meteorhacks:[email protected]');
api.use('meteorhacks:[email protected]');
api.use('iron:[email protected]');
api.use(['markdown'], 'server');
api.addFiles('lib/fragment.html', 'client');
api.addFiles([
'lib/boilerplate.html',
'lib/boilerplate.js',
'lib/layout.js',
], 'server', {isAsset: true});
api.addFiles([
'lib/overrides.js',
'lib/boot_templates.js',
'lib/routes.js',
'lib/markdown.js',
], 'server');
}