forked from cult-of-coders/apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
49 lines (40 loc) · 1.26 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
39
40
41
42
43
44
45
46
47
48
49
Package.describe({
name: "cultofcoders:apollo",
version: "0.10.1",
// Brief, one-line summary of the package.
summary: "Meteor & Apollo integration",
// URL to the Git repository containing the source code for this package.
git: "https://github.com/cult-of-coders/apollo.git",
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: "README.md",
});
Package.onUse(function (api) {
api.versionsFrom("1.3");
api.use("ecmascript");
api.use("check");
api.use("ejson");
api.use("mongo");
api.use("tmeasday:[email protected]");
api.use("cultofcoders:[email protected]");
api.use("cultofcoders:[email protected]");
api.use("accounts-base", { weak: true });
api.mainModule("client/index.js", "client");
api.mainModule("server/index.js", "server");
});
Npm.depends({
cookie: "0.4.0",
});
Package.onTest(function (api) {
api.use("cultofcoders:apollo");
var packages = [
"ecmascript",
"accounts-password",
"cultofcoders:[email protected]",
"mongo",
];
api.use(["meteortesting:mocha"]);
api.use(packages);
api.mainModule("__tests__/server.js", "server");
api.mainModule("__tests__/client.js", "client");
});