forked from cult-of-coders/redis-oplog
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.js
66 lines (56 loc) · 1.67 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Package.describe({
name: "cultofcoders:redis-oplog",
version: "3.0.0",
// Brief, one-line summary of the package.
summary: "Replacement for Meteor's MongoDB oplog implementation",
// URL to the Git repository containing the source code for this package.
git: "https://github.com/cult-of-coders/redis-oplog",
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: "README.md",
});
Npm.depends({
redis: "3.1.2",
"deep-extend": "0.6.0",
"lodash.clonedeep": "4.5.0",
});
Package.onUse(function (api) {
api.versionsFrom(["3.0.1", "3.1"]);
api.use([
"underscore",
"ecmascript",
"ejson",
"minimongo",
"mongo",
"random",
"ddp-server",
"diff-sequence",
"id-map",
"mongo-id",
"tracker",
]);
api.mainModule("redis-oplog.js", "server");
api.mainModule("redis-oplog.client.js", "client");
});
Package.onTest(function (api) {
api.use("cultofcoders:redis-oplog");
// extensions
api.use("aldeed:collection2@4.0.4");
api.use("reywood:publish-composite@1.8.12");
api.use("underscore");
api.use("ecmascript");
api.use("tracker");
api.use("mongo");
api.use("random");
api.use("accounts-password");
api.use("alanning:roles@4.0.0");
api.use("ddp-server");
api.use("ejson");
api.use("meteortesting:mocha");
api.use("matb33:collection-hooks@2.0.0-rc.4");
api.use("alanning:roles@4.0.0");
api.mainModule("testing/main.server.js", "server");
api.addFiles("testing/publishComposite/boot.js", "server");
api.addFiles("testing/optimistic-ui/boot.js", "server");
api.mainModule("testing/main.client.js", "client");
});