-
-
Notifications
You must be signed in to change notification settings - Fork 161
/
package.js
66 lines (62 loc) · 2.02 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* eslint-env meteor */
Package.describe({
name: 'aldeed:simple-schema',
summary: 'A simple schema validation object with reactivity. Used by collection2 and autoform.',
version: '2.0.0',
git: 'https://github.com/aldeed/meteor-simple-schema.git'
});
Npm.depends({
'mongo-object': '3.0.1',
'message-box': '0.2.7',
'clone': '2.1.2'
});
Package.onUse(function (api) {
api.versionsFrom(['2.3', '2.8.0', '3.0']);
api.use('ecmascript');
api.mainModule('lib/main.js');
});
Package.onTest(function (api) {
api.versionsFrom(['2.3', '2.8.0', '3.0']);
api.use([
//'lmieulet:meteor-legacy-coverage@0.1.0',
//'lmieulet:meteor-coverage@4.0.0',
'meteortesting:mocha@2.0.0 || 3.2.0',
'ecmascript',
'tracker',
// 'mongo',
'aldeed:simple-schema@2.0.0'
])
api.addFiles([
'lib/clean/autoValue.tests.js',
'lib/clean/convertToProperType.tests.js',
'lib/clean/defaultValue.tests.js',
'lib/clean/setAutoValues.tests.js',
'lib/utility/getLastPartOfKey.tests.js',
'lib/clean.tests.js',
'lib/expandShorthand.tests.js',
'lib/humanize.tests.js',
'lib/SimpleSchema.tests.js',
'lib/SimpleSchema_allowedValues.tests.js',
'lib/SimpleSchema_autoValueFunctions.tests.js',
'lib/SimpleSchema_blackbox.tests.js',
'lib/SimpleSchema_custom.tests.js',
'lib/SimpleSchema_definition.tests.js',
'lib/SimpleSchema_extend.tests.js',
'lib/SimpleSchema_getObjectSchema.tests.js',
'lib/SimpleSchema_getQuickTypeForKey.tests.js',
'lib/SimpleSchema_labels.tests.js',
'lib/SimpleSchema_max.tests.js',
'lib/SimpleSchema_messages.tests.js',
'lib/SimpleSchema_min.tests.js',
'lib/SimpleSchema_minCount.tests.js',
'lib/SimpleSchema_namedContext.tests.js',
'lib/SimpleSchema_omit.tests.js',
'lib/SimpleSchema_oneOf.tests.js',
'lib/SimpleSchema_pick.tests.js',
'lib/SimpleSchema_regEx.tests.js',
'lib/SimpleSchema_required.tests.js',
'lib/SimpleSchema_rules.tests.js',
'lib/SimpleSchema_type.tests.js',
'lib/reactivity.tests.js'
]);
});