forked from Lepozepo/S3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
executable file
·33 lines (26 loc) · 857 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
Package.describe({
name:"lepozepo:s3",
summary: "Upload files to S3. Allows use of Knox Server-Side.",
version:"5.1.10",
git:"https://github.com/Lepozepo/S3"
});
Npm.depends({
knox: "0.9.2",
"stream-buffers":"2.1.0",
"aws-sdk":"2.1.14"
});
Package.on_use(function (api) {
api.versionsFrom('METEOR@1.0');
api.use(["meteor-base@1.0.1","coffeescript","service-configuration"], ["client", "server"]);
api.use(["check","random"], ["client","server"]);
// Client
api.add_files("client/functions.coffee", "client");
// Server
api.add_files("server/startup.coffee", "server");
api.add_files("server/sign_request.coffee", "server");
api.add_files("server/delete_object.coffee", "server");
//Allows user access to Knox
api.export && api.export("Knox","server");
//Allows user access to AWS-SDK
api.export && api.export("AWS","server");
});