forked from trippo/ResponsiveFilemanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
executable file
·104 lines (94 loc) · 3.27 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
var elixir = require('laravel-elixir');
elixir.config.sourcemaps = false;
elixir(function (mix) {
mix.less(
[
'style.less',
],
'resources/tmp/css/style.css',
'resources/assets/less'
);
mix.less(
[
"../../../node_modules/bootstrap-lightbox/less/bootstrap-lightbox.less"
],
'resources/tmp/css/lib.css',
'node_modules'
);
mix.styles(
[
'../../../node_modules/bootstrap/docs/assets/css/bootstrap.css',
'../../../node_modules/bootstrap/docs/assets/css/bootstrap-responsive.css',
'../../../node_modules/bootstrap-modal/css/bootstrap-modal.css',
'../../../node_modules/jquery-contextmenu/dist/jquery.contextMenu.css',
'../../../node_modules/tui-color-picker/dist/tui-color-picker.css',
'../../../node_modules/tui-image-editor/dist/tui-image-editor.css',
'lib.css',
'style.css'
],
'filemanager/css/style.css',
'resources/tmp/css'
);
mix.styles(
["rtl-style.less"],
'filemanager/css/rtl-style.css',
'resources/assets/less'
);
mix.scripts(
[
"bootstrap/js/bootstrap-transition.js",
"bootstrap/js/bootstrap-affix.js",
"bootstrap/js/bootstrap-dropdown.js",
"bootstrap/js/bootstrap-alert.js",
"bootstrap/js/bootstrap-button.js",
"bootstrap/js/bootstrap-collapse.js",
"bootstrap/js/bootstrap-dropdown.js",
"bootstrap/js/bootstrap-modal.js",
"bootstrap/js/bootstrap-tooltip.js",
"bootstrap/js/bootstrap-popover.js",
"bootstrap/js/bootstrap-scrollspy.js",
"bootstrap/js/bootstrap-tab.js",
"bootstrap/js/bootstrap-typeahead.js",
"bootstrap-lightbox/js/bootstrap-lightbox.js",
"jquery-contextmenu/dist/jquery.contextMenu.js",
"vanilla-lazyload/dist/lazyload.js",
"jquery-scrollstop/jquery.scrollstop.js",
"bootbox.js/bootbox.js",
"jquery-touchswipe/jquery.touchSwipe.js",
"bootstrap-modal/js/bootstrap-modalmanager.js",
"bootstrap-modal/js/bootstrap-modal.js",
"clipboard/dist/clipboard.js",
"jquery-ui-touch-punch/jquery.ui.touch-punch.js",
],
'filemanager/js/plugins.js',
'node_modules'
);
mix.scripts(
[
"fabric/dist/fabric.js",
"tui-code-snippet/dist/tui-code-snippet.js",
"tui-color-picker/dist/tui-color-picker.js",
"tui-image-editor/dist/tui-image-editor.js",
],
'filemanager/js/tui-image-editor.js',
'node_modules'
);
mix.copy('node_modules/blueimp-file-upload/js', 'filemanager/js/');
mix.copy('node_modules/blueimp-file-upload/css', 'filemanager/css/');
mix.scripts(
['include.js'],
'filemanager/js/include.js'
);
mix.scripts(
['plugin.js'],
'filemanager/plugin.min.js'
);
mix.scripts(
['plugin_responsivefilemanager_plugin.js'],
'tinymce/plugins/responsivefilemanager/plugin.min.js'
);
mix.scripts(
['modernizr.custom.js'],
'filemanager/js/modernizr.custom.js'
);
});