forked from Lepozepo/cloudinary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
35 lines (28 loc) · 1.11 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
Package.describe({
name:"lepozepo:cloudinary",
summary: "Upload files to Cloudinary",
version:"3.0.0",
git:"https://github.com/Lepozepo/cloudinary"
});
Npm.depends({
cloudinary: "1.0.8",
"stream-buffers":"0.2.5"
});
Package.on_use(function (api){
//Need service-configuration to use Meteor.method
api.use(["[email protected]", "[email protected]","[email protected]","lepozepo:[email protected]"], ["client", "server"]);
api.use(["matb33:[email protected]"], ["client", "server"],{weak:true});
//Image manipulation
api.add_files("lib/cloudinary.standalone.js","client");
api.add_files("client/blocks.html", "client");
api.add_files("client/helpers.js", "client");
api.add_files("client/controllers.js","client");
api.add_files("client/collections.js", "client");
api.add_files("client/functions.js", "client");
api.add_files("server.js", "server");
//Allow user access to Cloudinary server-side
api.export && api.export("Cloudinary","server");
api.export && api.export("_cloudinary","client");
api.export && api.export("C","client");
});