forked from Meteor-Community-Packages/meteor-collection2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
45 lines (36 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
36
37
38
39
40
41
42
43
44
45
/* global Package */
Package.describe({
name: "aldeed:collection2",
summary: "Automatic validation of insert and update operations on the client and server.",
version: "2.3.3",
git: "https://github.com/aldeed/meteor-collection2.git"
});
Package.onUse(function(api) {
api.use('aldeed:simple-schema@1.3.2');
api.imply('aldeed:simple-schema');
api.use('underscore@1.0.0');
api.use('check@1.0.0');
api.use('mongo@1.0.4');
api.imply('mongo');
api.use('ejson@1.0.0');
// Allow us to detect 'insecure'.
api.use('insecure@1.0.0', {weak: true});
api.addFiles(['collection2.js']);
});
Package.onTest(function(api) {
api.use('aldeed:collection2');
api.use('tinytest@1.0.0');
api.use('test-helpers@1.0.0');
api.use('underscore@1.0.0');
api.use('ejson@1.0.0');
api.use('ordered-dict@1.0.0');
api.use('random@1.0.0');
api.use('deps@1.0.0');
api.addFiles([
'tests/schemas.js',
'tests/collections.js',
'tests/pubsub.js',
'tests/security.js',
'tests/tests.js'
]);
});