-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
41 lines (38 loc) · 1.17 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
Package.describe({
name: 'avariodev:galaxy-autoscale',
version: '3.0.0',
summary: 'A server-only package to auto-scale Meteor Galaxy containers.',
git: 'https://github.com/jehartzog/galaxy-autoscale.git',
documentation: 'README.md'
});
Npm.depends({
'puppeteer': '0.13.0'
});
Package.onUse(function (api) {
api.versionsFrom('1.6.0.1');
api.use('ecmascript', 'server');
api.use('percolate:[email protected]', 'server');
// Import lib files
api.addFiles([
"lib/autoscale.js",
"lib/cpu-per-container.js",
"lib/is-loading.js",
"lib/login.js",
"lib/log.js",
"lib/scaling-logic.js",
"lib/scrape-info.js"
], 'server');
// Import the main module
api.mainModule('galaxy-autoscale.js', 'server');
});
Package.onTest(function (api) {
api.use('ecmascript');
api.use('practicalmeteor:mocha');
api.use('practicalmeteor:chai');
api.use('percolate:[email protected]');
api.use('avariodev:galaxy-autoscale');
api.addFiles('tests/server/scaling-logic-tests.js');
api.addFiles('tests/server/log-alert-tests.js');
// api.addFiles('tests/server/scraper-tests.js', 'server');
// api.addFiles('tests/server/scraper-tests-auth.js', 'server');
});