-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
52 lines (38 loc) · 1.5 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
Package.describe({
summary: "Extended API for Session and Collection.",
// update this value before you run 'meteor publish'
version: "1.0.3",
// if this value isn't set, meteor will default to the directory name
name: "clinical:extended-api",
// and add this value if you want people to access your code from Atmosphere
git: "http://github.com/awatson1978/clinical-extended-api.git"
});
Package.on_use(function (api) {
api.versionsFrom('1.1.0.2');
api.use('[email protected]');
// Session can work with or without reload, but if reload is present
// it should load first so we can detect it at startup and populate
// the session.
api.use('[email protected]', 'client', {weak: true});
api.use('[email protected]', 'client');
api.use('[email protected]', 'client');
api.use('[email protected]', 'client');
api.use('[email protected]', 'client');
api.export('Session', 'client');
api.export('Collection');
api.add_files('client/session-extended-api.js', 'client');
api.add_files('server/collection-extended-api.js', 'server');
});
Package.on_test(function (api) {
api.use('tinytest');
//api.use(['session', 'underscore', 'reactive-dict', 'ejson'], 'client');
api.use('meteor-platform');
api.use('session', 'client');
api.use('deps');
api.use('mongo');
api.use('mongo-livedata');
api.use('clinical:extended-api');
api.use('clinical:verification');
api.addFiles('tests/session-extended-api-tests.js', 'client');
api.addFiles('tests/collection-extended-api-tests.js');
});