forked from gadicc/meteor-famous-views
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
95 lines (78 loc) · 2.32 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Package.describe({
name: 'gadicohen:famous-views',
version: '1.3.1',
summary: 'Famous, the Meteor Way (with Reactive Blaze Templates/Views)',
git: 'https://github.com/gadicc/meteor-famous-views.git'
});
var client = 'client';
function common(api) {
// Meteor core packages
api.use(['blaze', 'htmljs', 'ejson', 'tracker', 'observe-sequence', 'templating'], client);
// 3rd-party included in core
api.use(['underscore'], client);
// Atmosphere
api.use([
'jag:[email protected]',
'pierreeric:[email protected]',
'raix:[email protected]'
], client)
// Famous
api.use('gadicohen:[email protected]', client);
api.addFiles([
'lib/famous-views.js',
'lib/famous-globals.js',
'lib/utilities.js',
'lib/meteorFamousView.js',
'lib/defer.js',
'lib/FV.js',
'lib/classes.js',
'lib/dom/dom.js',
'lib/wrappers/wrap.js',
'lib/wrappers/Nodes.js',
'lib/wrappers/Components.js',
'lib/wrappers/Nodes/Scene.js',
'lib/wrappers/Nodes/Node.js',
'lib/wrappers/Nodes/RenderController.js',
'lib/wrappers/Components/DOMElement.js',
'lib/wrappers/Components/Camera.js',
'lib/wrappers/Components/Mesh.js',
'lib/wrappers/Components/PointLight.js',
'lib/famousEach.js',
'lib/layouts/OrderedLayout.js',
'lib/layouts/SequentialLayout.js',
'lib/meteor/setimmediate.js',
'lib/meteor/timers.js',
'lib/meteor/tracker.js',
'lib/init.js'
], client);
api.export('FView', client);
api.export('FV', client);
};
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
common(api);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use(['random', 'reactive-var', 'mongo', 'sha'], client);
//api.use('gadicohen:famous-views');
common(api);
api.addFiles([
'tests/lib/prepare.js',
'tests/utilities.js',
'tests/meteorFamousView.js',
'tests/wrappers/Nodes/Scene.html',
'tests/wrappers/Nodes/Scene.js',
'tests/wrappers/wrap.html',
'tests/wrappers/wrap.js',
'tests/wrappers/Nodes/Node.html',
'tests/wrappers/Nodes/Node.js',
'tests/wrappers/Components.js',
'tests/wrappers/Components/Camera.js',
'tests/wrappers/Components/Mesh.js',
'tests/wrappers/Components/DOMElement.html',
'tests/wrappers/Components/DOMElement.js',
'tests/famousEach.html',
'tests/famousEach.js',
], 'client');
});