-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
31 lines (29 loc) · 820 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
Package.describe({
name: 'jam:method',
version: '1.8.0',
summary: 'An easy way to create Meteor methods',
git: 'https://github.com/jamauro/method',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom(['2.8.1', '3.0']);
api.use('ecmascript');
api.use('check');
api.use('mongo');
api.use('ddp-client');
api.use('ddp-rate-limiter', 'server');
api.use('jam:[email protected]', { weak: true });
api.use('jam:[email protected]', { weak: true });
api.use('zodern:[email protected]');
api.mainModule('method.js');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('mongo');
api.use('jam:[email protected]');
api.use('jam:[email protected]');
api.use('jam:method');
api.addFiles('test-methods.js');
api.mainModule('tests.js');
});