Cachet/gulpfile.js
2015-07-25 19:17:30 +01:00

31 lines
1.5 KiB
JavaScript

var elixir = require('laravel-elixir');
elixir.config.sourcemaps = false;
elixir(function (mix) {
mix
.sass('app.scss', 'public/dist/css/app.css')
.styles([
'vendor/bower_components/jquery-minicolors/jquery.minicolors.css',
'public/dist/css/app.css'
], 'public/dist/css/all.css', './')
.scripts([
'vendor/bower_components/jquery/dist/jquery.js',
'vendor/bower_components/bootstrap-sass/assets/javascripts/bootstrap.js',
'vendor/bower_components/moment/min/moment-with-locales.js',
'vendor/bower_components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js',
'vendor/bower_components/lodash/dist/lodash.js',
'vendor/bower_components/autosize/dest/autosize.js',
'vendor/bower_components/messenger/build/js/messenger.js',
'vendor/bower_components/Sortable/Sortable.js',
'vendor/bower_components/livestampjs/livestamp.js',
'vendor/bower_components/jquery-minicolors/jquery.minicolors.js',
'vendor/bower_components/jquery-serialize-object/jquery.serialize-object.js',
'vendor/bower_components/chartjs/Chart.js',
'resources/assets/js/app.js',
'resources/assets/js/**/*.js'
], 'public/dist/js/all.js', './')
.version(['public/dist/css/all.css', 'public/dist/js/all.js'])
.copy('vendor/bower_components/ionicons/fonts/', 'public/fonts/');
});