forked from peerlibrary/meteor-blaze-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
77 lines (66 loc) · 1.4 KB
/
Copy pathpackage.js
File metadata and controls
77 lines (66 loc) · 1.4 KB
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
75
76
77
Package.describe({
name: 'peerlibrary:blaze-components',
summary: "Reusable components for Blaze",
version: '0.12.0',
git: 'https://github.com/peerlibrary/meteor-blaze-components.git'
});
Package.onUse(function (api) {
api.versionsFrom('METEOR@1.0.3.1');
// Core dependencies.
api.use([
'blaze',
'templating',
'coffeescript',
'underscore',
'tracker',
'reactive-var',
'ejson',
'spacebars'
]);
// Internal dependencies.
api.use([
'peerlibrary:base-component@0.10.0'
]);
// 3rd party dependencies.
api.use([
'peerlibrary:assert@0.2.5'
]);
api.export('BlazeComponent');
// TODO: Move to a separate package. Possibly one with debugOnly set to true.
api.export('BlazeComponentDebug');
api.addFiles([
'lookup.js',
'lib.coffee',
'debug.coffee'
]);
api.addFiles([
'client.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:classy-test@0.2.9',
'mquandalle:harmony@1.3.79'
]);
api.addFiles([
'tests/tests.html',
'tests/tests.coffee',
'tests/tests.js',
'tests/tests.next.js',
'tests/tests.css'
], 'client');
});