This repository has been archived by the owner on Nov 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
108 lines (98 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
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.config.publicPath = 'public_html';
elixir(function (mix) {
mix.copy('bower_components/font-awesome/fonts', 'public_html/fonts');
mix.copy('bower_components/bootstrap/dist/fonts', 'public_html/fonts');
// landing page
mix.copy('bower_components/rdok/startbootstrap-stylish-portfolio/font-awesome/fonts', 'public_html/fonts');
mix.copy('bower_components/rdok-startbootstrap-stylish-portfolio/img', 'public_html/img/landing-page');
mix
.styles([
'bower_components/bootstrap/dist/css/bootstrap.min.css',
'bower_components/sass-bootstrap-template/css/App.css',
'resources/assets/css/custom.css'
], 'build/css/above-the-fold-content.min.css', '.')
.styles([
'bower_components/rdok/startbootstrap-stylish-portfolio/font-awesome/css/font-awesome.min.css',
'bower_components/rdok/startbootstrap-stylish-portfolio/css/bootstrap.min.css',
'bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css',
'bower_components/sass-bootstrap-template/css/App.css',
'bower_components/sass-bootstrap-template/css/Login.css',
'resources/assets/css/custom.css'
], 'build/css/auth/above-the-fold-content.min.css', '.')
// Landing page.
.styles([
'bower_components/rdok/startbootstrap-stylish-portfolio/css/bootstrap.min.css',
'bower_components/rdok/startbootstrap-stylish-portfolio/css/stylish-portfolio.css',
'bower_components/rdok/startbootstrap-stylish-portfolio/font-awesome/css/font-awesome.min.css',
'bower_components/pnotify/dist/pnotify.css',
], 'build/css/landing-page/above-the-fold-content.min.css', '.')
.styles([
'bower_components/font-awesome/css/font-awesome.min.css',
'bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css',
'bower_components/iCheck/skins/minimal/blue.css',
'bower_components/iCheck/skins/square/green.css',
'bower_components/iCheck/skins/square/red.css',
'bower_components/select2/dist/css/select2.min.css',
'bower_components/jquery-simplecolorpicker/jquery.simplecolorpicker.css',
'bower_components/fullcalendar/dist/fullcalendar.min.css',
'bower_components/pnotify/dist/pnotify.css',
'bower_components/bootstrap-toggle/css/bootstrap-toggle.min.css',
'bower_components/parsleyjs/src/parsley.css',
// 'bower_components/bootstrap-timepicker/css/timepicker.css',
'bower_components/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css',
'bower_components/font-awesome-animation/dist/font-awesome-animation.min.css',
], 'build/css/master.min.css', '.');
mix.scripts([
'bower_components/jquery/dist/jquery.min.js',
'resources/assets/js/loadStyleSheets.js',
'bower_components/bootstrap/dist/js/bootstrap.min.js',
'bower_components/jquery-ui/jquery-ui.min.js',
'bower_components/pnotify/dist/pnotify.js',
'bower_components/pnotify/dist/pnotify.confirm.js',
'resources/assets/js/flash.js',
], 'build/js/master.min.js', '.')
// Auth
.scripts([
'bower_components/sass-bootstrap-template/js/libs/jquery-1.9.1.min.js',
'bower_components/sass-bootstrap-template/js/libs/jquery-ui-1.9.2.custom.min.js',
'bower_components/sass-bootstrap-template/js/libs/bootstrap.min.js',
'bower_components/sass-bootstrap-template/js/App.js',
'bower_components/sass-bootstrap-template/js/Login.js',
'bower_components/pnotify/dist/pnotify.js',
'bower_components/pnotify/dist/pnotify.confirm.js',
'resources/assets/js/flash.js',
], 'build/js/auth/master.min.js', '.')
.scripts([
'bower_components/jquery.mb.ytplayer/dist/jquery.mb.YTPlayer.min.js',
], 'build/js/auth/login.min.js', '.')
// Landing page.
.scripts([
'bower_components/rdok/startbootstrap-stylish-portfolio/js/jquery.js',
'bower_components/rdok/startbootstrap-stylish-portfolio/js/bootstrap.min.js',
'bower_components/pnotify/dist/pnotify.js',
'bower_components/pnotify/dist/pnotify.confirm.js',
'resources/assets/js/loadStyleSheets.js',
'resources/assets/js/flash.js',
], 'build/js/landing-page/master.min.js', '.');
mix.version([
'./build/css/above-the-fold-content.min.css',
'./build/css/landing-page/above-the-fold-content.min.css',
'./build/css/master.min.css',
'./build/js/master.min.js',
'./build/js/landing-page/master.min.js',
'./build/css/auth/above-the-fold-content.min.css',
'./build/js/auth/master.min.js',
'./build/js/auth/login.min.js',
]);
});