forked from CulturalMe/meteor-slingshot
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
36 lines (29 loc) · 887 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
Package.describe({
name: "jamiesoncj:slingshot",
summary: "Directly post files to cloud storage services, such as AWS-S3, including SSE for S3",
version: "0.7.2",
git: "https://github.com/jamiesoncj/meteor-slingshot",
documentation: 'README.md',
});
Package.on_use(function (api) {
api.versionsFrom('[email protected]');
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", "jamiesoncj:slingshot"]);
api.add_files("test/aws-s3.js", "server");
});