forked from ManuelDeLeon/viewmodel
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.js
71 lines (63 loc) · 1.35 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
Package.describe({
name: "arggh:viewmodel",
summary:
"MVVM, two-way data binding, and components for Meteor. Similar to Angular and Knockout.",
version: "7.0.0",
git: "https://github.com/arggh/viewmodel"
});
var CLIENT = "client";
Package.onUse(function(api) {
api.use(
[
"manuel:[email protected]",
"manuel:[email protected]",
"manuel:[email protected]"
],
CLIENT
);
api.addFiles(
[
"lib/viewmodel.js",
"lib/viewmodel-parseBind.js",
"lib/bindings.js",
"lib/template.js",
"lib/migration.js",
"lib/viewmodel-onUrl.js",
"lib/viewmodel-property.js",
"lib/lzstring.js"
],
CLIENT
);
api.export(["ViewModel"], CLIENT);
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use(
[
"ecmascript",
"blaze",
"templating",
"underscore",
"tracker",
"reload",
"sha",
"reactive-dict",
"manuel:reactivearray",
"meteortesting:mocha",
"manuel:isdev"
],
CLIENT
);
api.mainModule('tests/tests.js', 'client');
api.export(["ViewModel"], CLIENT);
});