forked from timegridio/timegrid
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgulpfile.js
94 lines (71 loc) · 3.25 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
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.less('app.less');
// Base Scripts and Styles
mix.scripts([
'./bower_components/jquery/dist/jquery.min.js',
'./bower_components/bootstrap/dist/js/bootstrap.min.js',
'./bower_components/tooltipster/js/jquery.tooltipster.min.js'
], 'public/js/app.js');
mix.styles([
'./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/bootstrap-select/dist/js/bootstrap-select.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/bootstrap-colorpicker-2.3.0/dist/js/bootstrap-colorpicker.min.js'
], 'public/js/forms.js');
mix.copy([
'./bower_components/bootstrap-select/dist/js/i18n/*.min.js',
], 'public/js/bootstrap-select/i18n');
mix.copy([
'./bower_components/mjolnic-bootstrap-colorpicker/bootstrap-colorpicker-2.3.0/dist/img/',
], 'public/img/');
mix.styles([
'./bower_components/bootstrap-select/dist/css/bootstrap-select.min.css',
'./bower_components/mjolnic-bootstrap-colorpicker/bootstrap-colorpicker-2.3.0/dist/css/bootstrap-colorpicker.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/moment/min/moment-with-locales.min.js',
'./bower_components/moment-timezone/builds/moment-timezone.min.js',
'./bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
], 'public/js/datetime.js');
mix.styles([
'./bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.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');
});