-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.js
39 lines (35 loc) · 1.34 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
36
37
38
Package.describe({
name: "froatsnook:shopify",
version: "1.6.1",
summary: "Shopify API Access",
git: "https://github.com/froatsnook/meteor-shopify",
documentation: "README.md"
});
Package.onUse(function(api) {
api.versionsFrom("1.0.3.1");
api.use("check", ["client", "server"]);
api.use("http", ["client", "server"]);
api.use("underscore", ["client", "server"]);
api.use("webapp", "server");
api.use("froatsnook:[email protected]", ["client", "server"]);
api.addFiles("lib/01-shopify.js", ["client", "server"]);
api.addFiles("lib/02-APIMethods.js", ["client", "server"]);
api.addFiles("lib/api.js", ["client", "server"]);
api.addFiles("lib/Authenticators.js", ["client", "server"]);
api.addFiles("lib/AuthRedirect.js", "server");
api.addFiles("lib/DefaultScopes.js", ["client", "server"]);
api.addFiles("lib/Keyset.js", ["server"]);
api.addFiles("lib/ProxyAPICache.js", ["server"]);
api.export("Shopify", ["client", "server"]);
});
Package.onTest(function(api) {
Npm.depends({ "express": "4.12.2" });
api.use("tinytest");
api.use("webapp", "server");
api.use("check");
api.use("tracker");
api.use("froatsnook:[email protected]");
api.use("froatsnook:shopify");
api.addFiles("test/shopify-api-simulator.js", ["server"]);
api.addFiles("test/shopify-tests.js");
});