forked from veliovgroup/Meteor-Files
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.js
executable file
·35 lines (32 loc) · 1.08 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
Package.describe({
name: 'ostrio:files',
version: '3.0.0-beta.6',
summary: 'Upload files to a server or 3rd party storage: AWS:S3, GridFS, DropBox, and other',
git: 'https://github.com/veliovgroup/Meteor-Files',
documentation: 'README.md'
});
Package.onUse((api) => {
api.versionsFrom(['2.14', '3.0-beta.0']);
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('meteortesting:mocha');
api.use(['ecmascript', 'ostrio:files'], ['client', 'server']);
api.addFiles('tests/helpers.js', ['client', 'server']);
api.mainModule('tests/server.js', 'server');
});
Npm.depends({
'chai': '4.2.0',
'sinon': '7.5.0',
'diff': '4.0.1',
'fs-extra': '8.1.0',
eventemitter3: '4.0.7',
'abort-controller': '3.0.0'
});