-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.js
More file actions
36 lines (33 loc) · 904 Bytes
/
package.js
File metadata and controls
36 lines (33 loc) · 904 Bytes
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
Package.describe({
name: 'jam:method',
version: '1.9.1',
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:easy-schema@1.6.1', { weak: true });
api.use('jam:offline@0.1.0', { weak: true });
api.use('zodern:types@1.0.13');
api.mainModule('method.js');
});
Package.onTest(function(api) {
Npm.depends({
'zod': '3.23.4'
});
api.use('ecmascript');
api.use('tinytest');
api.use('mongo');
api.use('aldeed:simple-schema@2.0.0');
api.use('jam:easy-schema@1.6.1');
api.use('jam:offline@0.1.0');
api.use('jam:method');
api.addFiles('test-methods.js');
api.mainModule('tests.js');
});