forked from kadirahq/flow-router
-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.js
48 lines (39 loc) · 2.1 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
Package.describe({
name: 'ostrio:flow-router-extra',
summary: 'Carefully extended flow-router with waitOn and template context',
version: '3.10.1',
git: 'https://github.com/veliovgroup/flow-router'
});
Package.onUse((api) => {
api.versionsFrom(['1.4', '3.0-beta.0']);
api.use(['modules', 'ecmascript', 'promise', 'tracker', 'reactive-dict', 'reactive-var', 'ejson', 'check'], ['client', 'server']);
api.use(['zodern:[email protected]', 'typescript'], ['client', 'server'], { weak: true });
api.use(['templating', 'blaze'], 'client', { weak: true });
api.mainModule('client/_init.js', 'client');
api.mainModule('server/_init.js', 'server');
});
Package.onTest((api) => {
api.use(['ecmascript', 'tinytest', 'underscore', 'check', 'mongo', 'http', 'random', 'communitypackages:[email protected]', 'communitypackages:[email protected]', 'montiapm:[email protected]', 'ostrio:flow-router-extra', 'zodern:types', 'typescript'], ['client', 'server']);
api.use(['reactive-var', 'tracker'], 'client');
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.9.0',
qs: '6.11.0'
});