forked from davidworkman9/meteor-editable
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
50 lines (40 loc) · 1.16 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
Package.describe({
summary: "Meteor-Editable - in-place edit package influenced by x-editable"
});
Package.on_use(function (api) {
var fs = Npm.require('fs');
api.use([
'check',
'templating',
'underscore'
], 'client');
// libs
api.add_files([
'lib/select2/select2.js',
'lib/select2/select2.png',
'lib/select2/select2.css',
'lib/bootstrap-datetimepicker/bootstrap-datetimepicker.css',
'lib/bootstrap-datetimepicker/bootstrap-datetimepicker.js'
], 'client');
// main files
api.add_files([
'bootstrap-editable.css',
'editable.html',
'editable.js'
], 'client');
// input types
api.add_files([
'inputs/text/text.html',
'inputs/text/text.js',
'inputs/select/select.html',
'inputs/select/select.js',
'inputs/select2/select2.html',
'inputs/select2/select2.js',
'inputs/date/date.html',
'inputs/date/date.js',
'inputs/datetime/datetime.html',
'inputs/datetime/datetime.js',
'inputs/textarea/textarea.html',
'inputs/textarea/textarea.js'
], 'client');
});