forked from yogiben/meteor-favorites
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
52 lines (41 loc) · 873 Bytes
/
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
Package.describe({
summary: "Adds favoriting/liking functionality to any collection",
version: "0.0.4",
git: "http://github.com/yogiben/meteor-favorites.git"
});
both = ['client','server']
Package.onUse(function(api) {
api.versionsFrom('METEOR@1.2.1');
api.use(
[
'coffeescript',
'less',
'templating',
'aldeed:autoform@5.8.1'
],
both);
api.addFiles(
[
'lib/both/schemas.coffee',
'lib/both/collections.coffee'
],
both)
api.addFiles(
[
'lib/client/templates.html',
'lib/client/templates.coffee',
'lib/client/helpers.coffee'
],
'client')
api.addFiles(
[
'lib/server/allow.coffee',
'lib/server/publish.coffee'
],
'server')
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('yogiben:favorites');
api.addFiles('yogiben:favorites-tests.js');
});