forked from peerlibrary/meteor-blaze-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
74 lines (64 loc) · 1.37 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Package.describe({
name: 'peerlibrary:blaze-components',
summary: "Reusable components for Blaze",
version: '0.11.0',
git: 'https://github.com/peerlibrary/meteor-blaze-components.git'
});
Package.onUse(function (api) {
api.versionsFrom('[email protected]');
// Core dependencies.
api.use([
'blaze',
'templating',
'coffeescript',
'underscore',
'tracker',
'reactive-var',
'ejson',
'spacebars'
]);
// Internal dependencies.
api.use([
'peerlibrary:[email protected]'
]);
// 3rd party dependencies.
api.use([
'peerlibrary:[email protected]'
]);
api.export('BlazeComponent');
// TODO: Move to a separate package. Possibly one with debugOnly set to true.
api.export('BlazeComponentDebug');
// Client.
api.addFiles([
'lookup.js',
'lib.coffee',
'debug.coffee'
], 'client');
});
Package.onTest(function (api) {
// Core dependencies.
api.use([
'coffeescript',
'templating',
'jquery',
'reactive-var',
'underscore',
'tracker'
]);
// Internal dependencies.
api.use([
'peerlibrary:blaze-components'
]);
// 3rd party dependencies.
api.use([
'peerlibrary:[email protected]',
'mquandalle:[email protected]'
]);
api.addFiles([
'tests/tests.html',
'tests/tests.coffee',
'tests/tests.js',
'tests/tests.next.js',
'tests/tests.css'
], 'client');
});