-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
64 lines (58 loc) · 1.4 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
var packages = [
'aldeed:http@0.2.2',
'blaze-html-templates',
'check',
'edgee:slingshot@0.7.1',
'lepozepo:s3@5.1.6',
'ejson',
'jquery',
'logging',
'meteor-base',
'mongo',
'random',
'reload',
'spacebars',
'tracker',
'underscore',
];
var filesClient = [
'client/main.html',
'client/main.js',
];
var filesLib = [
'lib/api.js',
'lib/collections.js',
'lib/methods.js',
];
var filesServer = [
'server/browser-policy.js',
'server/publications.js',
'server/main.js',
];
Package.describe({
name: 'idometeor:s3-catapult',
version: '0.0.2',
// Brief, one-line summary of the package.
summary: 'Provides Blaze templates for sending files to Amazon S3 via file input or URL.',
// URL to the Git repository containing the source code for this package.
git: 'http://github.com/iDoMeteor/meteor-package-s3-catapult',
// 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('1.2.1');
api.use(packages);
api.addFiles(filesLib, ['client', 'server']);
api.addFiles(filesServer, 'server');
api.addFiles(filesClient, 'client');
api.export([
'S3',
's3URLs',
]);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('idometeor:s3-catapult');
api.addFiles('tests/s3-catapult-tests.js');
});