-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.js
32 lines (26 loc) · 1.03 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
Package.describe({
name: 'mike:mocha',
summary: "Run mocha tests in the browser",
version: "0.6.6",
debugOnly: true,
git: "https://github.com/mad-eye/meteor-mocha-web"
});
Npm.depends({
mocha: "1.17.1",
mkdirp: "0.5.0"
});
Package.on_use(function (api, where) {
api.use(['[email protected]'], ['client', 'server']);
api.use(['velocity:[email protected]'], "server");
api.use(['velocity:[email protected]'], "client");
api.use('practicalmeteor:[email protected]_1');
//no actual dependency, hacky fix for https://github.com/mad-eye/meteor-mocha-web/issues/174
api.use('practicalmeteor:[email protected]_2');
api.use(['[email protected]'], "client");
api.use(['velocity:[email protected]'], ["client", "server"]);
api.use(['mike:[email protected]'], ["client", "server"]);
api.add_files(["reporter.js", "server.js"], "server");
api.add_files(["client.html", "mocha.js", "reporter.js", "client.js"], "client");
api.addAssets(["sample-tests/client.js","sample-tests/server.js"], "server");
api.export("MochaWeb", ["client", "server"]);
});