forked from Meteor-Community-Packages/meteor-elastic-apm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
43 lines (37 loc) · 1.09 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
/* eslint-disable no-undef */
Package.describe({
name: 'kschingiz:meteor-elastic-apm',
version: '2.5.1',
// Brief, one-line summary of the package.
summary: 'Performance monitoring for Meteor based on Elastic APM',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/Meteor-Community-Packages/meteor-elastic-apm',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Npm.depends({
'elastic-apm-node': '3.27.0',
shimmer: '1.2.1'
});
Package.onUse(function(api) {
api.versionsFrom('2.4');
api.use('kschingiz:[email protected]');
api.imply('kschingiz:meteor-measured');
api.use([
'ecmascript',
'mongo',
'minimongo',
'ddp',
'ddp-common',
'webapp',
'random'
]);
api.mainModule('meteor-elastic-apm.js', 'server');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('kschingiz:meteor-elastic-apm');
api.mainModule('meteor-elastic-apm-tests.js');
});