forked from CulturalMe/meteor-slingshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
35 lines (28 loc) · 825 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
Package.describe({
name: "edgee:slingshot",
summary: "Directly post files to cloud storage services, such as AWS-S3.",
version: "0.7.1",
git: "https://github.com/CulturalMe/meteor-slingshot"
});
Package.on_use(function (api) {
api.versionsFrom('METEOR@1.0');
api.use(["underscore", "check"]);
api.use(["tracker", "reactive-var"], "client");
api.add_files([
"lib/restrictions.js",
"lib/validators.js"
]);
api.add_files("lib/upload.js", "client");
api.add_files([
"lib/directive.js",
"lib/storage-policy.js",
"services/aws-s3.js",
"services/google-cloud.js",
"services/rackspace.js"
], "server");
api.export("Slingshot");
});
Package.on_test(function (api) {
api.use(["tinytest", "underscore", "edgee:slingshot"]);
api.add_files("test/aws-s3.js", "server");
});