-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
69 lines (62 loc) · 2.2 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
var gulp = require('gulp');
var elixir = require('laravel-elixir');
require('laravel-elixir-imagemin');
/*
|--------------------------------------------------------------------------
| 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) {
// mix.browserSync({
// proxy: 'ivgainesville.dev'
// });
mix.sass(['app.scss'], './public/css/app.css', {
includePaths: ['bower_components/foundation-sites/scss', 'bower_components/motion-ui', 'node_modules/normalize-sass', 'node_modules/bourbon/app/assets/stylesheets']
});
mix.styles([
'animsition.min.css',
'dropzone.css',
'font/css/font-awesome.css',
'waves.css',
'sweetalert.css',
'bootstrap-switch.min.css'
], './public/css/libs.css')
.styles([
'medium-editor-insert-plugin-frontend.min.css'
], './public/css/medium-front.css')
.styles([
'medium-editor.min.css',
'bootstrap-theme.min.css',
'medium-editor-insert-plugin.min.css'
], './public/css/medium.css');
mix.scripts([
'animsition.min.js',
'twitterFetcher.js',
'waves.js',
'dropzone.js',
'sweetalert.min.js',
'bootstrap.min.js',
'bootstrap-switch.min.js',
'instafeed.min.js'
], './public/js/libs.js')
.scripts([
'medium-dep/jquery.js',
'medium-dep/handlebars.runtime.min.js',
'medium-dep/jquery-sortable-min.js',
'medium-dep/jquery.ui.widget.js',
'medium-dep/jquery.iframe-transport.js',
'medium-dep/jquery.fileupload.js'
], './public/js/medium-dep.js')
.scripts([
'medium-editor.min.js',
'medium-editor-insert-plugin.min.js'
], './public/js/medium-insert.js')
.scripts('app.js');
mix.imagemin();
mix.copy('resources/assets/css/font/fonts', 'public/css/fonts');
});