-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.js
35 lines (30 loc) · 939 Bytes
/
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
Package.describe({
"summary": "CPU Profiler for Meteor (used with Monti APM)",
"version": "1.7.0-beta.2",
"git": "https://github.com/monti-apm/meteor-profiler.git",
"name": "montiapm:profiler"
});
Package.onUse(function(api) {
configurePackage(api);
});
Package.onTest(function(api) {
configurePackage(api);
api.use([
'[email protected]||2.0.0-rc300.0'
], ['client', 'server']);
api.addFiles('test/helpers.js', 'server');
api.addFiles('test/client.js', 'client');
api.addFiles('test/server.js', 'server');
});
function configurePackage(api) {
api.versionsFrom('[email protected]');
api.use('check');
api.use('random');
api.use('ecmascript');
api.export('MontiProfiler');
api.use('montiapm:[email protected]||3.0.0-beta.4');
api.imply('montiapm:[email protected]||3.0.0-beta.4');
api.use('montiapm:[email protected]');
api.addFiles('lib/server.js', 'server');
api.addFiles('lib/client.js', 'client');
}