-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
31 lines (24 loc) · 918 Bytes
/
package.js
File metadata and controls
31 lines (24 loc) · 918 Bytes
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
Package.describe({
summary: "Modification of lepozepo:s3 with default public access to images.",
version: "1.0.2",
git: "https://github.com/Praxie/meteor-s3-public.git"
});
Npm.depends({
knox: "0.8.5",
"stream-buffers":"0.2.5"
});
Package.on_use(function (api) {
api.use(["underscore@1.0.0", "ejson@1.0.0","service-configuration@1.0.0","coffeescript@1.0.0","lepozepo:streams@0.2.0"], ["client", "server"]);
api.use(["ui@1.0.0","templating@1.0.0","spacebars@1.0.0"], "client");
// Client
api.add_files("client/functions.coffee", "client");
// Server
api.add_files("server/methods.coffee", "server");
api.add_files("server/startup.coffee", "server");
// Both
api.add_files("shared/streams.coffee", ["client","server"]);
//Allows user access to Knox
api.export && api.export("Knox","server");
api.export && api.export("S3","server");
api.export && api.export("S3","client");
});