-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.js
35 lines (33 loc) · 1.01 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
/* global Package */
/* eslint-disable max-len,func-names,prefer-arrow-callback */
Package.describe({
name: 'rlivingston:simple-schema-mixin',
version: '1.0.0',
summary: 'A ValidatedMethod mixin that eases use of aldeed SimpleSchema with mdg validated-method',
git: 'https://github.com/rhettlivingston/meteor-simple-schema-mixin.git',
documentation: 'README.md',
});
Package.onUse(function (api) {
api.versionsFrom('1.2');
api.use([
'ecmascript',
// We need a min of 1.5.0 for "clean" to work. 1.5.2 also adds better err messages. Go for it.
'aldeed:[email protected]',
'mdg:[email protected]',
'check',
'underscore',
]);
api.addFiles('simple-schema-mixin.js');
api.export('simpleSchemaMixin');
});
Package.onTest(function (api) {
api.use([
'ecmascript',
'rlivingston:simple-schema-mixin',
'aldeed:[email protected]',
'mdg:[email protected]',
'practicalmeteor:mocha',
'practicalmeteor:chai',
]);
api.addFiles('simple-schema-mixin-tests.js');
});