-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.js
49 lines (44 loc) · 1.22 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
Package.describe({
name: 'lai:document-methods',
version: '0.1.13',
// Brief, one-line summary of the package.
summary: 'Extend your documents with helpful methods.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/rclai/meteor-document-methods.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('0.9.3');
api.use([
// Hopefully, MDG decides to switch to Lodash.. THEY BETTER!
'underscore',
'mongo',
'lai:collection-extensions@0.1.0',
'dburles:collection-helpers@1.0.3'
]);
api.addFiles([
'document-methods.js'
]);
});
Package.onTest(function(api) {
api.use([
'accounts-base',
'tinytest',
'tracker',
'mongo',
'underscore',
'matb33:collection-hooks@0.7.9',
'aldeed:collection2@2.3.2',
'ongoworks:security@1.0.1',
'cfs:standard-packages@0.5.3',
'dburles:mongo-collection-instances@0.3.1',
'cfs:gridfs@0.0.27'
]);
api.use('lai:document-methods');
api.addFiles([
'tests/functions.js',
'tests/tests.js'
]);
});