-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.js
50 lines (41 loc) · 852 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
42
43
44
45
46
47
48
49
50
Package.describe({
summary: "offline data"
});
Package.on_use(function (api) {
api.use(
[
'coffeescript',
'livedata',
'underscore',
'offline-common'
],
['client', 'server']
);
api.use(
[
'ejson',
'minimongo',
'isolate-value',
'canonical-stringify',
'variable',
'mongo-livedata'
],
'client'
);
api.use(
[
'webapp'
],
'server'
);
api.add_files([
'worker-boot.js',
'worker-packages.js'
], 'client', {isAsset: true});
api.export('Offline', ['client', 'server']);
api.add_files('worker-server.litcoffee', 'server');
api.add_files('worker-client.litcoffee', 'client');
api.add_files('proxy.litcoffee', 'client');
api.add_files('fallback.litcoffee', 'client');
api.add_files('server.litcoffee', 'server');
});