forked from veliovgroup/Meteor-Files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
executable file
·31 lines (28 loc) · 978 Bytes
/
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
Package.describe({
name: 'ostrio:files',
version: '1.14.0',
summary: 'Upload files to Meteor application, with 3rd party storage support: AWS:S3, GridFS and other',
git: 'https://github.com/VeliovGroup/Meteor-Files',
documentation: 'README.md'
});
Npm.depends({
'fs-extra': '8.1.0',
request: '2.88.2',
'file-type': '14.1.3',
eventemitter3: '4.0.0'
});
Package.onUse(function(api) {
api.versionsFrom('1.9');
api.use('webapp', 'server');
api.use(['reactive-var', 'tracker', 'http', 'ddp-client'], 'client');
api.use(['mongo', 'check', 'random', 'ecmascript', 'ostrio:[email protected]'], ['client', 'server']);
api.addAssets('worker.min.js', 'client');
api.mainModule('server.js', 'server');
api.mainModule('client.js', 'client');
api.export('FilesCollection');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use(['ecmascript', 'ostrio:files'], ['client', 'server']);
api.addFiles('tests/helpers.js', ['client', 'server']);
});