-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
35 lines (32 loc) · 840 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({
name: 'jam:easy-schema',
version: '1.5.1',
summary: 'An easy way to add schema validation for Meteor apps',
git: 'https://github.com/jamauro/easy-schema',
documentation: 'README.md'
});
Npm.depends({
'flat': '5.0.2'
});
Package.onUse(function(api) {
api.versionsFrom(['2.8.1', '3.0']);
api.use('mongo');
api.use('check');
api.use('ecmascript');
api.use('mongo-id');
api.use('ddp-client');
api.use('mdg:[email protected]');
api.use('zodern:[email protected]');
api.mainModule('client.js', 'client');
api.mainModule('server.js', 'server');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('mongo');
api.use('mongo-decimal');
api.use('ddp-client');
api.use('accounts-base');
api.use('jam:easy-schema');
api.mainModule('tests.js');
});