forked from veliovgroup/flow-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
56 lines (47 loc) · 1.98 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
45
46
47
48
49
50
51
52
53
54
55
56
Package.describe({
name: 'ostrio:flow-router-extra',
summary: 'Carefully extended flow-router with waitOn and template context',
version: '3.4.7',
git: 'https://github.com/VeliovGroup/flow-router'
});
Package.onUse(function (api) {
api.versionsFrom('1.4');
api.use([
'modules',
'ecmascript',
'promise',
'modules',
'underscore',
'tracker',
'reactive-dict',
'reactive-var',
'ejson'
], ['client', 'server']);
api.use(['templating', 'blaze'], 'client', { weak: true });
api.mainModule('client/_init.js', 'client');
api.mainModule('server/_init.js', 'server');
});
Package.onTest(function(api) {
api.use(['ecmascript', 'tinytest', 'underscore', 'reactive-var', 'tracker', 'check', 'mongo', 'http', 'random', 'tmeasday:html5-history-api', 'staringatlights:fast-render', 'staringatlights:inject-data', 'ostrio:flow-router-extra']);
api.addFiles('test/common/fast_render_route.js', ['client', 'server']);
api.addFiles('test/client/_helpers.js', 'client');
api.addFiles('test/server/_helpers.js', 'server');
api.addFiles('test/client/loader.spec.js', 'client');
api.addFiles('test/client/route.reactivity.spec.js', 'client');
api.addFiles('test/client/router.core.spec.js', 'client');
api.addFiles('test/client/router.subs_ready.spec.js', 'client');
api.addFiles('test/client/router.reactivity.spec.js', 'client');
api.addFiles('test/client/group.spec.js', 'client');
api.addFiles('test/client/trigger.spec.js', 'client');
api.addFiles('test/client/triggers.js', 'client');
api.addFiles('test/server/plugins/fast_render.js', 'server');
api.addFiles('test/common/router.path.spec.js', ['client', 'server']);
api.addFiles('test/common/router.url.spec.js', ['client', 'server']);
api.addFiles('test/common/router.addons.spec.js', ['client', 'server']);
api.addFiles('test/common/route.spec.js', ['client', 'server']);
api.addFiles('test/common/group.spec.js', ['client', 'server']);
});
Npm.depends({
'page': '1.8.4',
'qs': '6.5.1'
});