33 changed files with 80 additions and 21 deletions
@ -1,2 +1,10 @@
|
||||
.phpintel |
||||
vendor/ |
||||
/.phpintel |
||||
/.env |
||||
/.idea/ |
||||
/vendor/ |
||||
/node_modules/ |
||||
/composer.lock |
||||
/package-lock.json |
||||
/public/css/ |
||||
/public/js/ |
||||
/public/img/ |
||||
|
@ -0,0 +1,41 @@
|
||||
var gulp = require('gulp'); |
||||
var copy = require('gulp-copy'); |
||||
var del = require('del'); |
||||
|
||||
gulp.task('default', ['img', 'css', 'js']); |
||||
|
||||
gulp.task('clean:img', function () { |
||||
return del(['public/img']); |
||||
}); |
||||
|
||||
gulp.task('img', ['clean:img'], function () { |
||||
return gulp.src('resources/img/**/*') |
||||
.pipe(gulp.dest('public/img')); |
||||
}); |
||||
|
||||
gulp.task('clean:css', function () { |
||||
return del(['public/css']); |
||||
}); |
||||
|
||||
gulp.task('css', ['clean:css'], function () { |
||||
gulp.src(['resources/css/**/*.css']) |
||||
.pipe(gulp.dest('public/css')); |
||||
|
||||
gulp |
||||
.src([ |
||||
'node_modules/bootstrap/dist/css/bootstrap.min.css', |
||||
'node_modules/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css', |
||||
'node_modules/bootstrap-table/dist/bootstrap-table.min.css', |
||||
'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css' |
||||
]) |
||||
.pipe(gulp.dest('public/css')); |
||||
}); |
||||
|
||||
gulp.task('clean:js', function () { |
||||
return del(['public/assets/js']); |
||||
}); |
||||
|
||||
gulp.task('js', ['clean:js'], function () { |
||||
gulp.src(['resources/js/**/*.js']) |
||||
.pipe(gulp.dest('public/js')); |
||||
}); |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in new issue