-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.js
45 lines (36 loc) · 1.13 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
Package.describe({
name: "mizzao:sharejs",
summary: "server (& client library) to allow concurrent editing of any kind of content",
version: "0.10.1",
git: "https://github.com/mizzao/meteor-sharejs.git"
});
Npm.depends({
// Fork of 0.6.3 that doesn't require("mongodb"):
// https://github.com/meteor/meteor/issues/532#issuecomment-82635979
// Includes "Failed to parse" bugfix
share: "https://github.com/qeek/sharejs-tmp-fork/tarball/94c059bd4da24de8e6e90fb83484dd9c7b0efd59",
browserchannel: '1.2.0'
});
Package.onUse(function (api) {
api.versionsFrom("1.3");
api.use(['underscore', 'ecmascript', 'modules']);
api.use(['handlebars', 'templating'], 'client');
api.use(['mongo-livedata', 'routepolicy', 'webapp'], 'server');
api.mainModule('sharejs-client.js', 'client');
api.mainModule('sharejs-server.js', 'server');
// Our files
api.addFiles([
'sharejs-templates.html'
], 'client');
});
Package.onTest(function (api) {
api.use([
'random',
'ecmascript',
'modules',
'tinytest',
'test-helpers'
]);
api.use("mizzao:sharejs");
api.addFiles('tests/server_test.js', 'server');
});