-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.js
134 lines (107 loc) · 5.3 KB
/
gulpfile.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function(mix) {
mix.copy([
'./bower_components/adminlte/plugins/iCheck/square/*.png',
], 'public/css/iCheck/');
mix.styles([
'./bower_components/adminlte/plugins/iCheck/square/blue.css'
], 'public/css/iCheck/icheck.min.css');
mix.scripts([
'./bower_components/adminlte/plugins/iCheck/icheck.min.js',
], 'public/js/iCheck/icheck.min.js');
mix.scripts([
'./bower_components/clipboard/dist/clipboard.min.js',
], 'public/js/clipboard/clipboard.min.js');
mix.styles([
'./bower_components/bootstrap/dist/css/bootstrap.min.css',
'./bower_components/adminlte/dist/css/AdminLTE.css',
'./bower_components/adminlte/dist/css/skins/skin-blue.css',
'./bower_components/adminlte/plugins/iCheck/square/blue.css'
], 'public/css/app.min.css');
mix.scripts([
'./bower_components/jquery/dist/jquery.min.js',
'./bower_components/moment/min/moment-with-locales.min.js',
'./bower_components/moment/min/locales.min.js',
'./bower_components/moment-timezone/builds/moment-timezone.min.js',
'./bower_components/adminlte/plugins/iCheck/icheck.min.js',
'./bower_components/bootstrap/dist/js/bootstrap.min.js',
'./bower_components/adminlte/dist/js/app.min.js',
'./bower_components/tooltipster/js/jquery.tooltipster.min.js'
], 'public/js/app.min.js');
mix.styles([
// './bower_components/bootstrap/dist/css/bootstrap.min.css',
'./bower_components/tooltipster/css/themes/tooltipster-light.css',
'./bower_components/tooltipster/css/tooltipster.css',
'./bower_components/animate.css/animate.min.css',
], 'public/css/styles.css');
// News Helpers
mix.scripts([
'./bower_components/jquery-bootstrap-newsbox/dist/jquery.bootstrap.newsbox.min.js',
], 'public/js/newsbox.js');
// Form Helpers
mix.scripts([
'./bower_components/select2/dist/js/select2.full.min.js',
'./bower_components/bootstrap-validator/dist/validator.min.js',
'./bower_components/speakingurl/speakingurl.min.js',
'./bower_components/jquery-slugify/dist/slugify.min.js',
'./bower_components/bootstrap-list-filter/bootstrap-list-filter.min.js',
'./bower_components/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js',
'./bower_components/jquery.steps/build/jquery.steps.min.js',
'./bower_components/bootstrap-switch/dist/js/bootstrap-switch.min.js',
], 'public/js/forms.js');
mix.copy([
'./bower_components/select2/dist/js/i18n/*.min.js',
], 'public/js/select2/i18n');
mix.copy([
'./bower_components/mjolnic-bootstrap-colorpicker/dist/img/',
], 'public/img/');
mix.styles([
'./bower_components/select2/dist/css/select2.min.css',
'./bower_components/select2-bootstrap-theme/dist/select2-bootstrap.min.css',
'./bower_components/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css',
'./bower_components/jquery.steps/demo/css/jquery.steps.css',
'./bower_components/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.min.css'
], 'public/css/forms.css');
// Highlight
mix.scripts([
'./bower_components/jquery-highlighttextarea/jquery.highlighttextarea.min.js',
], 'public/js/highlight.js');
mix.styles([
'./bower_components/jquery-highlighttextarea/jquery.highlighttextarea.min.css',
], 'public/css/highlight.css');
// Date & Time Helpers
mix.scripts([
// './bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
'./bower_components/air-datepicker/dist/js/datepicker.min.js',
'./bower_components/air-datepicker/dist/js/i18n/datepicker.es.js',
'./bower_components/air-datepicker/dist/js/i18n/datepicker.en.js',
//'./bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
'./bower_components/bootstrap-timepicker/js/bootstrap-timepicker.js',
'./bower_components/fullcalendar/dist/fullcalendar.min.js',
'./bower_components/fullcalendar/dist/locale-all.js',
], 'public/js/datetime.js');
mix.styles([
// './bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css',
'./bower_components/air-datepicker/dist/css/datepicker.min.css',
//'./bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css',
'./bower_components/bootstrap-timepicker/css/timepicker.less',
'./bower_components/fullcalendar/dist/fullcalendar.min.css',
], 'public/css/datetime.css');
// Tour Helpers
mix.scripts([
'./bower_components/bootstrap-tour/build/js/bootstrap-tour.min.js',
], 'public/js/tour.js');
mix.styles([
'./bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css',
], 'public/css/tour.css');
});