forked from superstringsoftware/observatory-apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
28 lines (22 loc) · 1.14 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
try {
Package.describe({
summary: "Observatory: Apollo. Versatile and powerful logger package, part of Observatory suite (http://observatoryjs.com)"
});
Package.on_use(function (api) {
// console.log("loading observatory: apollo");
api.use(['coffeescript', 'underscore','observatory-galileo','standard-app-packages','ejson'], ['client','server']);
//api.use(['webapp'], ['server']);
api.add_files('lib/server/ObservatoryServer.coffee','server');
api.add_files('lib/server/DDPEmitter.coffee','server');
api.add_files('lib/server/HttpEmitter.coffee','server');
api.add_files('lib/server/MonitoringEmitter.coffee','server');
api.add_files('lib/MeteorLogger.coffee',['client','server']);
api.add_files(['lib/TLog.coffee', 'lib/Observatory.coffee'],['client','server']);
api.add_files('lib/monitoringHooks.coffee','server');
api.add_files('lib/client/templates.coffee','client');
api.export (['TLog','Observatory'], ['client','server']);
});
}
catch (err) {
console.log("Error while trying to load a package: " + err.message);
}