forked from peerlibrary/meteor-server-autorun
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
51 lines (43 loc) · 886 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
51
Package.describe({
summary: "Server-side Tracker.autorun",
version: '0.3.1',
name: 'peerlibrary:server-autorun',
git: 'https://github.com/peerlibrary/meteor-server-autorun.git'
});
Package.onUse(function (api) {
api.versionsFrom('1.0.3.1');
// Core dependencies.
api.use([
'coffeescript',
'underscore',
'tracker'
]);
// 3rd party dependencies.
api.use([
'peerlibrary:[email protected]'
], 'server');
api.addFiles([
'client.coffee'
], 'client');
api.addFiles([
'server.coffee'
], 'server');
});
Package.onTest(function (api) {
// Core dependencies.
api.use([
'tinytest',
'test-helpers',
'coffeescript',
'mongo',
'reactive-var'
]);
// Internal dependencies.
api.use([
'peerlibrary:server-autorun'
]);
api.addFiles([
'meteor/packages/tracker/tracker_tests.js',
'tests.coffee'
]);
});