-
Notifications
You must be signed in to change notification settings - Fork 16
/
gulpfile.js
executable file
·68 lines (60 loc) · 4 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
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 Sass
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function(mix) {
// LESS
mix.less([
"font-awesome.less",
"bootstrap.less",
"adminLTE.less",
"skin.less",
"harpia.less"
]);
// CSS
mix.copy("node_modules/sweetalert/dist/sweetalert.css", "public/css/plugins");
mix.copy("node_modules/toastr/build/toastr.min.css", "public/css/plugins");
mix.copy("node_modules/select2/dist/css/select2.css", "public/css/plugins");
mix.copy("node_modules/admin-lte/plugins/datepicker/datepicker3.css", "public/css/plugins");
mix.copy("node_modules/admin-lte/bower_components/fullcalendar/dist/fullcalendar.min.css", "public/css/plugins");
mix.copy("node_modules/admin-lte/bower_components/fullcalendar/dist/fullcalendar.print.min.css", "public/css/plugins");
// JAVASCRIPT
mix.copy("node_modules/admin-lte/plugins/jQuery/jquery-2.2.3.min.js", "public/js");
mix.copy("node_modules/bootstrap/dist/js/bootstrap.min.js", "public/js");
mix.copy("node_modules/admin-lte/dist/js/app.min.js", "public/js");
mix.copy("resources/assets/js/harpia.js", "public/js");
mix.copy("resources/assets/js/cpfcnpj.min.js", "public/js/plugins");
mix.copy("node_modules/toastr/build/toastr.min.js", "public/js/plugins");
mix.copy("node_modules/sweetalert/dist/sweetalert.min.js", "public/js/plugins");
mix.copy("node_modules/select2/dist/js/select2.js", "public/js/plugins");
mix.copy("node_modules/admin-lte/plugins/datepicker/bootstrap-datepicker.js", "public/js/plugins");
mix.copy("node_modules/admin-lte/plugins/datepicker/locales/bootstrap-datepicker.pt-BR.js", "public/js/plugins");
mix.copy("node_modules/chart.js/dist/Chart.js", "public/js/plugins");
mix.copy("node_modules/chart.js/dist/Chart.min.js", "public/js/plugins");
mix.copy("node_modules/jquery.inputmask/dist/inputmask/inputmask.js", "public/js/plugins/input-mask/inputmask.js");
mix.copy("node_modules/jquery.inputmask/dist/inputmask/inputmask.date.extensions.js", "public/js/plugins/input-mask/inputmask.date.extensions.js");
mix.copy("node_modules/jquery.inputmask/dist/inputmask/inputmask.extensions.js", "public/js/plugins/input-mask/inputmask.extensions.js");
mix.copy('node_modules/jquery.inputmask/dist/inputmask/jquery.inputmask.js', 'public/js/plugins/input-mask/jquery.inputmask.js');
mix.copy('node_modules/admin-lte/bower_components/fullcalendar/dist/fullcalendar.min.js', 'public/js');
mix.copy('node_modules/admin-lte/bower_components/fullcalendar/dist/fullcalendar.js', 'public/js');
mix.copy('node_modules/admin-lte/bower_components/moment/moment.js', 'public/js');
mix.copy('node_modules/jquery-validation/dist/jquery.validate.min.js', 'public/js');
// FONTS
mix.copy("node_modules/bootstrap/fonts", "public/fonts");
mix.copy("node_modules/font-awesome/fonts", "public/fonts");
// Copy iCheck Components
mix.copy("node_modules/admin-lte/plugins/iCheck/square/blue.css", "public/css/plugins/icheck/icheck.css");
mix.copy("node_modules/admin-lte/plugins/iCheck/square/blue.png", "public/css/plugins/icheck");
mix.copy("node_modules/admin-lte/plugins/iCheck/square/blue@2x.png", "public/css/plugins/icheck");
mix.copy("node_modules/admin-lte/plugins/iCheck/minimal/blue.css", "public/css/plugins/icheck/minimal/icheck.css");
mix.copy("node_modules/admin-lte/plugins/iCheck/minimal/blue.png", "public/css/plugins/icheck/minimal");
mix.copy("node_modules/admin-lte/plugins/iCheck/minimal/blue@2x.png", "public/css/plugins/icheck/minimal");
mix.copy("node_modules/admin-lte/plugins/iCheck/icheck.min.js", "public/js/plugins/icheck/");
});