-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.js
38 lines (32 loc) · 967 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
32
33
34
35
36
37
38
Package.describe({
name: 'tomi:upload-jquery',
summary: 'Client template for uploads using "jquery-file-upload" from blueimp',
version: '2.4.0',
git: 'https://github.com/tomitrescak/meteor-tomi-upload-jquery.git'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use(['reactive-var', 'templating'], 'client');
api.addFiles([
'lib/vendor/jquery.ui.widget.js',
'lib/jquery.iframe-transport.js',
'lib/jquery.fileupload.js',
], ['client']);
api.addFiles([
'main.css',
'templates/queueItem.html',
'templates/queueItem.js',
'templates/upload.html',
'templates/upload.js',
'templates/buttons.html',
'templates/buttons.js',
'templates/dropzone.html',
'templates/dropzone.js',
'uploader.js'], 'client');
api.export('Uploader', 'client');
});
//Package.onTest(function(api) {
// api.use('tinytest');
// api.use('tomi:upload-client');
// api.addFiles('upload-client-tests.js');
//});