-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
99 lines (85 loc) · 2.67 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
// Quiet the elixir notifications
process.env.DISABLE_NOTIFIER = true;
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');
//mix.copy('resources/assets/vendor/bootstrap/fonts','public/fonts');
mix.copy('resources/assets/vendor/kent-font/public/fonts','public/fonts');
mix.copy('resources/assets/vendor/font-awesome/fonts','public/fonts');
mix.copy('resources/assets/vendor/jstree-bootstrap-theme/dist/themes/proton/30px.png','public/css/30px.png');
mix.copy('resources/assets/vendor/jstree-bootstrap-theme/dist/themes/proton/32px.png','public/css/32px.png');
mix.copy('resources/assets/vendor/jstree-bootstrap-theme/dist/themes/proton/throbber.gif','public/css/throbber.gif');
mix.copy('resources/assets/vendor/select2/select2.png','public/css/select2.png');
mix.copy('resources/assets/vendor/select2/select2.png','public/css/select2.png');
mix.copy('resources/assets/vendor/select2/select2-spinner.gif','public/css/select2-spinner.gif');
mix.copy('resources/assets/vendor/medium-editor/dist/css/medium-editor.min.css','public/css/medium-editor.min.css');
mix.copy('resources/assets/vendor/medium-editor/dist/css/themes/default.min.css','public/css/default.min.css');
mix.scripts(
[
"../vendor/jquery/dist/jquery.js",
"../vendor/jquery-ui/jquery-ui.js",
"../vendor/jquery-cookie/jquery.cookie.js",
"../vendor/dirtyFields-jQuery-Plugin/jquery.dirtyFields.js",
"../vendor/bootstrap/dist/js/bootstrap.js",
"../vendor/jstree-bootstrap-theme/dist/jstree.js",
"../vendor/select2/select2.js",
"app.js",
"tree.js"
],
'public/js/app.min.js'
);
mix.scripts(
[
"poi.js"
],
'public/js/poi.min.js'
);
mix.scripts(
[
"location.js"
],
'public/js/location.min.js'
);
mix.scripts(
[
"../vendor/dropzone/dist/dropzone.js",
"../vendor/medium-editor/dist/js/medium-editor.js",
"content.js"
],
'public/js/content.min.js'
);
mix.scripts(
[
"map.js"
],
'public/js/map.min.js'
);
mix.scripts(
[
"tour.js"
],
'public/js/tour.min.js'
);
mix.scripts(
[
"zone.js"
],
'public/js/zone.min.js'
);
mix.scripts(
[
"page.js"
],
'public/js/page.min.js'
);
});