-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.js
47 lines (41 loc) · 952 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
Package.describe({
summary: "Adds notification functionality",
version: "0.1.0",
git: "http://github.com/yogiben/meteor-notifications.git"
});
both = ['client', 'server'];
Package.onUse(function(api) {
api.versionsFrom('METEOR@1.0');
api.use(
[
'coffeescript',
'templating',
'less',
'tracker',
'mrt:moment@2.8.1',
'aldeed:autoform@4.2.2 || 5.1.2'
],
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',
'lib/client/tracker.coffee',
'lib/client/style.less'
],
'client');
api.addFiles(
[
'lib/server/allow.coffee',
'lib/server/publish.coffee',
'lib/server/methods.coffee'
],
'server');
});