forked from KodiCMS/kodicms-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
128 lines (123 loc) · 3.65 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
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('common.less', 'public/cms/css')
.less('kodicms/jquery-ui/jquery-ui.less', 'public/cms/css/jquery-ui.css');
mix.scripts([
'libs/jquery/js/jquery.min.js',
'libs/bootstrap/js/bootstrap.js',
'libs/noty/js/jquery.noty.packaged.js',
'libs/select2/js/select2.full.js',
'libs/jquery-colorbox/js/jquery.colorbox-min.js',
'libs/bootstrap-toggle/js/bootstrap-toggle.min.js',
'libs/jquery-validation/js/jquery.validate.js',
'libs/jquery-validation/js/additional-methods.js',
'libs/dropzone/js/dropzone.min.js',
'libs/datetimepicker/js/jquery.datetimepicker.js',
'libs/underscore/js/underscore-min.js',
'libs/moment/js/moment.min.js',
'libs/fastclick/js/fastclick.js',
'libs/slimScroll/js/jquery.slimscroll.min.js',
'libs/jquery-query-object/js/jquery.query-object.js',
'libs/bootbox.js/js/bootbox.js',
'libs/i18next/js/i18next.min.js'
], 'public/cms/js/libraries.js', 'public/cms/');
mix.scripts([
'cms/core.js',
'cms/app.js',
'cms/components/messages.js',
'cms/components/filters.js',
'cms/components/loader.js',
'cms/components/notifications.js',
'cms/components/filemanager.js',
'cms/components/controllers.js',
'cms/components/ui.js',
'cms/helpers.js',
'cms/ui.js',
'cms/hashString.js',
'cms/popup.js',
'cms/scroll.js',
'cms/api.js',
'cms/user.meta.js',
'cms/run.js'
], 'public/cms/js/backend.js');
/**************************************************************
* elFinder
**************************************************************/
mix
.scripts([
'elfinder.js',
'elFinder.version.js',
'jquery.elfinder.js',
'elFinder.options.js',
'elFinder.history.js',
'elFinder.command.js',
'elFinder.resources.js',
'jquery.dialogelfinder.js',
'elfinder.en.js',
'ui/button.js',
'ui/contextmenu.js',
'ui/cwd.js',
'ui/dialog.js',
'ui/navbar.js',
'ui/overlay.js',
'ui/panel.js',
'ui/path.js',
'ui/places.js',
'ui/searchbutton.js',
'ui/sortbutton.js',
'ui/stat.js',
'ui/toolbar.js',
'ui/tree.js',
'ui/uploadButton.js',
'ui/viewbutton.js',
'ui/workzone.js',
'commands/archive.js',
'commands/back.js',
'commands/copy.js',
'commands/cut.js',
'commands/download.js',
'commands/duplicate.js',
'commands/edit.js',
'commands/extract.js',
'commands/forward.js',
'commands/getfile.js',
'commands/help.js',
'commands/home.js',
'commands/info.js',
'commands/mkdir.js',
'commands/mkfile.js',
'commands/netmount.js',
'commands/open.js',
'commands/paste.js',
'commands/quicklook.js',
'commands/quicklook/audio.js',
'commands/quicklook/flash.js',
'commands/quicklook/images.js',
'commands/quicklook/pdf.js',
'commands/quicklook/text.js',
'commands/quicklook/video.js',
'commands/quicklook/browser.media.js',
'commands/reload.js',
'commands/rename.js',
'commands/resize.js',
'commands/rm.js',
'commands/search.js',
'commands/sort.js',
'commands/up.js',
'commands/upload.js',
'commands/view.js',
'elfinder.end.js'
], 'public/cms/libs/elfinder/js/elfinder.min.js', 'resources/assets/js/elfinder')
.styles(['elfinder.full.css',], 'public/cms/libs/elfinder/css/elfinder.min.css', 'public/cms/libs/elfinder/css/');
});