-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.js
74 lines (62 loc) · 2.28 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Package.describe({
summary: 'Full Stack Debugging Solution for Meteor',
version: '3.2.2',
git: 'https://github.com/kadirahq/meteor-debug',
name: "kadira:debug"
});
Npm.depends({
'ua-parser-js': '0.7.7',
'lru-cache': '2.6.5'
});
Package.onUse(function (api) {
configure(api);
});
Package.onTest(function(api) {
configure(api);
api.use('tinytest');
api.use('underscore');
api.use('templating');
api.use('ddp');
api.use('practicalmeteor:sinon@1.14.1_1');
api.addFiles('tests/utils.js', ['server', 'client']);
api.addFiles('tests/client/store.js', 'client');
api.addFiles('tests/client/providers/blaze.js', 'client');
api.addFiles('tests/client/providers/ddp.js', 'client');
api.addFiles('tests/client/providers/iron_router.js', 'client');
api.addFiles('tests/client/providers/flow_router.js', 'client');
api.addFiles('tests/server/integration.js', 'server');
api.addFiles('tests/server/trace_store.js', 'server');
api.addFiles('tests/server/unit.js', 'server');
});
function configure(api) {
api.export(['KadiraDebug']);
api.versionsFrom('1.0');
api.use('templating', {weak: true});
api.use('underscore');
api.use('random');
api.use('check');
api.use('session');
api.use('reload');
api.use('mongo');
api.use('tracker');
api.use('localstorage');
api.use('meteorhacks:kadira@2.23.2', 'server');
api.use('kadira:flow-router@2.0.0', {weak:true});
api.use('kadira:flow-router-ssr@3.0.0', {weak:true});
api.use('iron:router@1.0.0', {weak:true});
api.use('kadira:runtime-dev@0.0.1');
api.addFiles('lib/utils.js', ['server', 'client']);
api.addFiles('lib/client/utils.js', 'client');
api.addFiles('lib/client/store.js', 'client');
api.addFiles('lib/client/providers/blaze.js', 'client');
api.addFiles('lib/client/providers/flow_router.js', 'client');
api.addFiles('lib/client/providers/iron_router.js', 'client');
api.addFiles('lib/client/providers/ddp.js', 'client');
api.addFiles('lib/client/providers/hcr.js', 'client');
api.addFiles('lib/client/providers/system.js', 'client');
api.addFiles('lib/client/connect.js', 'client');
api.addFiles('lib/server/utils.js', 'server');
api.addFiles('lib/server/data_layer.js', 'server');
api.addFiles('lib/server/trace_store.js', 'server');
api.addFiles('lib/server/connect.js', 'server');
}