-
-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathpackage.js
executable file
·29 lines (26 loc) · 930 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
Package.describe({
name: 'ostrio:files',
version: '2.1.1',
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'
});
Package.onUse((api) => {
api.versionsFrom('1.9');
api.use('webapp', 'server');
api.use(['reactive-var', 'tracker', 'ddp-client'], 'client');
api.use(['mongo', 'check', 'random', 'ecmascript', 'fetch', '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((api) => {
api.use('tinytest');
api.use(['ecmascript', 'ostrio:files'], ['client', 'server']);
api.addFiles('tests/helpers.js', ['client', 'server']);
});
Npm.depends({
eventemitter3: '4.0.7',
'abort-controller': '3.0.0'
});