-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.js
52 lines (47 loc) · 1.25 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
Package.describe({
name: "gabrielhpugliese:supercalendar",
summary: "Google Calendar-like as smart package",
version: "0.7.1",
git: "https://github.com/gabrielhpugliese/meteor_supercalendar"
});
Package.onUse(function (api, where) {
api.versionsFrom('[email protected]');
// Other packages
api.use('copleykj:[email protected]');
api.use('anti:[email protected]');
// Client
api.use([
'startup',
'templating',
'session',
'tracker',
'preserve-inputs',
'jquery',
'less',
], 'client');
api.add_files([
'client/lib/app.js',
'client/stylesheets/calendar.less',
'client/stylesheets/fullcalendar.css',
'client/stylesheets/fullcalendar.print.css',
'client/stylesheets/jquery-ui-1.10.3.custom.css',
'client/views/calendar.html',
'client/views/calendar.js'
], 'client');
api.add_files([
'client/compatibility/fullcalendar.js',
'client/compatibility/jquery-ui-1.10.3.custom.js'
], 'client', {raw: true});
// Both
api.use([
'underscore'
], ['client', 'server']);
api.add_files([
'lib/models.js',
'lib/forms.js'
], ['client', 'server']);
if (typeof api.export !== 'undefined') {
api.export('Calendar', ['client', 'server']);
api.export('SuperCalendar', ['client']);
}
});