forked from Meteor-Community-Packages/meteor-simple-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
43 lines (38 loc) · 1.14 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
42
43
Package.describe({
name: 'aldeed:simple-schema',
summary: 'A simple schema validation object with reactivity. Used by collection2 and autoform.',
version: '1.5.4',
git: 'https://github.com/aldeed/meteor-simple-schema.git'
});
Package.onUse(function (api) {
api.use('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('mdg:[email protected]', {unordered: true});
api.addFiles([
'string-polyfills.js',
'string-humanize.js',
'mongo-object.js',
'simple-schema-utility.js',
'simple-schema.js',
'simple-schema-validation.js',
'simple-schema-validation-new.js',
'simple-schema-context.js',
]);
api.export(['SimpleSchema', 'MongoObject'], ['client', 'server']);
api.export('humanize', {testOnly: true});
});
Package.onTest(function (api) {
api.use('aldeed:simple-schema');
api.use('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.addFiles([
'simple-schema-tests.js',
'mongo-object-tests.js',
'humanize-tests.js',
'validation-error-tests.js'
], ['client', 'server']);
});