forked from awatson1978/deprecated-clinical-extended-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
executable file
·50 lines (38 loc) · 1.24 KB
/
package.js
File metadata and controls
executable file
·50 lines (38 loc) · 1.24 KB
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
Package.describe({
summary: "Extended API for Session and Collection.",
version: "3.0.0",
name: "clinical:extended-api",
git: "https://github.com/clinical-meteor/clinical-extended-api"
});
Package.onUse(function (api) {
api.versionsFrom('3.0');
// clinical:base
api.use('meteor@2.0.1');
api.use('webapp@2.0.1');
api.use('ddp@1.4.2');
api.use('ecmascript@0.16.9');
api.use('random');
api.use('mongo@2.0.1');
api.use('session@1.2.2');
api.use('underscore@1.6.4');
api.use('reactive-dict@1.3.2');
api.use('ejson@1.1.4');
// 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('reload@1.3.2', 'client', {weak: true});
//client
api.addFiles('client/meteor-extended-api.js', 'client');
api.addFiles('client/session-extended-api.js', 'client');
api.addFiles('client/random-extended-api.js', ['server', 'client']);
//both
api.addFiles('lib/Style.js');
//server
api.addFiles('server/collection-extended-api.js', 'server');
//exports
api.export('Random', ['client', 'server']);
api.export('Session', 'client');
api.export('Meteor', 'client');
api.export('Collection');
api.export('Style');
});