-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.js
60 lines (51 loc) · 1.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Package.describe({
name: 'peerlibrary:base-component',
summary: "Base component for reusable Meteor components",
version: '0.17.1',
git: 'https://github.com/peerlibrary/meteor-base-component.git',
documentation: null
});
Package.onUse(function (api) {
api.versionsFrom('[email protected]');
// Core dependencies.
api.use([
'reactive-var',
'tracker',
'underscore'
]);
// 3rd party dependencies.
api.use([
'peerlibrary:[email protected]',
'peerlibrary:[email protected]',
'peerlibrary:[email protected]'
]);
api.export('BaseComponent');
// TODO: Move to a separate package. Possibly one with debugOnly set to true.
api.export('BaseComponentDebug');
api.addFiles([
'lib.coffee',
'debug.coffee'
]);
});
Package.onTest(function (api) {
// Core dependencies.
api.use([
'reactive-var',
'tracker'
]);
// Internal dependencies.
api.use([
'peerlibrary:base-component'
]);
// 3rd party dependencies.
api.use([
'peerlibrary:[email protected]'
]);
api.addFiles([
'tests.coffee'
], 'client');
});