-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathpackage.js
54 lines (47 loc) · 1.07 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
Package.describe({
"name": "alethes:pages",
"summary": "State of the art, out of the box Meteor pagination",
"version": "1.8.6",
"git": "https://github.com/alethes/meteor-pages"
});
Package.onUse(function(api){
api.versionsFrom("[email protected]")
api.use([
"meteor-platform",
"check",
"tracker",
"underscore",
"coffeescript",
"mongo",
"ejson"
]);
api.use("iron:[email protected]", ["client", "server"], { weak: true });
api.use([
"templating",
"spacebars",
"blaze",
"session"
], "client");
api.addFiles([
"lib/pages.coffee"
]);
api.addFiles([
"client/templates.html",
"client/controllers.coffee",
"client/main.css"
], "client");
api.addAssets([
"public/loader.gif"
], ["client"]);
});
Package.onTest(function(api){
api.use([
"meteor-platform",
"coffeescript",
"alethes:pages"
]);
api.addFiles([
"tests/test_templates.html",
"tests/tests.coffee"
]);
});