forked from copleykj/socialize-messaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
31 lines (24 loc) · 1.06 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
Package.describe({
name: "socialize:messaging",
summary: "A social messaging package",
version: "0.5.1",
git:"https://github.com/copleykj/socialize-messaging.git"
});
Package.onUse(function(api) {
api.versionsFrom("1.0.2.1");
api.use([
"check", "socialize:[email protected]", "socialize:[email protected]", "socialize:[email protected]"
]);
//Add the conversation-model files
api.addFiles("conversation-model/common/conversation-model.js");
api.addFiles("conversation-model/common/user-extensions.js");
api.addFiles("conversation-model/server/publications.js", "server");
api.addFiles("conversation-model/server/server.js", "server");
//Add the message-model files
api.addFiles("message-model/common/message-model.js");
api.addFiles("message-model/server/server.js", "server");
//Add the participant-model files
api.addFiles("participant-model/common/participant-model.js");
api.addFiles("participant-model/server/server.js", "server");
api.export(["Conversation", "Message", "Participant"]);
});