mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
35 lines
1.6 KiB
JavaScript
35 lines
1.6 KiB
JavaScript
var elixir = require('laravel-elixir');
|
|
|
|
require('laravel-elixir-jshint');
|
|
|
|
elixir.config.sourcemaps = false;
|
|
|
|
elixir(function (mix) {
|
|
mix
|
|
.sass('app.scss')
|
|
.jshint('resources/assets/js/*.js')
|
|
.styles([
|
|
'vendor/bower_components/ionicons/css/ionicons.css',
|
|
'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/');
|
|
});
|