-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.js
executable file
·41 lines (33 loc) · 912 Bytes
/
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
/* eslint-disable prefer-arrow-callback */
Package.describe({
name: "johanbrook:publication-collector",
version: "2.0.0-rc.0",
summary: "Test a Meteor publication by collecting its output.",
documentation: "README.md",
git: "https://github.com/johanbrook/meteor-publication-collector.git",
debugOnly: true,
});
Npm.depends({
chai: "4.1.2",
sinon: "4.2.2",
});
Package.onUse(function (api) {
api.versionsFrom(["1.3", "2.8.0", "3.0-rc.0"]);
api.use(["ecmascript", "underscore", "mongo", "check"], "server");
api.mainModule("publication-collector.js", "server");
});
Package.onTest(function (api) {
api.use(
[
"ecmascript",
"mongo",
"random",
"meteortesting:mocha",
"accounts-password",
"underscore",
],
"server"
);
api.addFiles("./tests/collections.js", "server");
api.mainModule("publication-collector.test.js", "server");
});