mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-25 16:13:17 +03:00
Remove git folders from build files
This commit is contained in:
parent
5cb7dcbdbf
commit
a4d04d9763
1 changed files with 11 additions and 12 deletions
23
gulpfile.js
23
gulpfile.js
|
@ -68,6 +68,7 @@ function archive(done) {
|
||||||
del.sync('**/.DS_Store');
|
del.sync('**/.DS_Store');
|
||||||
fs.removeSync('build/composer.lock');
|
fs.removeSync('build/composer.lock');
|
||||||
del.sync('**/.DS_Store');
|
del.sync('**/.DS_Store');
|
||||||
|
del.sync('**/.git');
|
||||||
|
|
||||||
zip('build', {saveTo: filename}, function (error) {
|
zip('build', {saveTo: filename}, function (error) {
|
||||||
if (error) {
|
if (error) {
|
||||||
|
@ -118,29 +119,27 @@ function vendor(done) {
|
||||||
// bootstrap
|
// bootstrap
|
||||||
gulp.src([
|
gulp.src([
|
||||||
'node_modules/bootstrap/dist/js/bootstrap.min.js',
|
'node_modules/bootstrap/dist/js/bootstrap.min.js',
|
||||||
'node_modules/bootstrap/dist/css/bootstrap.min.css'
|
'node_modules/bootstrap/dist/css/bootstrap.min.css',
|
||||||
]).pipe(gulp.dest('assets/vendor/bootstrap'));
|
]).pipe(gulp.dest('assets/vendor/bootstrap'));
|
||||||
|
|
||||||
// @fortawesome-fontawesome-free
|
// @fortawesome-fontawesome-free
|
||||||
gulp.src([
|
gulp.src([
|
||||||
'node_modules/@fortawesome/fontawesome-free/js/fontawesome.min.js',
|
'node_modules/@fortawesome/fontawesome-free/js/fontawesome.min.js',
|
||||||
'node_modules/@fortawesome/fontawesome-free/js/solid.min.js'
|
'node_modules/@fortawesome/fontawesome-free/js/solid.min.js',
|
||||||
]).pipe(gulp.dest('assets/vendor/@fortawesome-fontawesome-free'));
|
]).pipe(gulp.dest('assets/vendor/@fortawesome-fontawesome-free'));
|
||||||
|
|
||||||
// cookieconsent
|
// cookieconsent
|
||||||
gulp.src([
|
gulp.src([
|
||||||
'node_modules/cookieconsent/build/cookieconsent.min.js',
|
'node_modules/cookieconsent/build/cookieconsent.min.js',
|
||||||
'node_modules/cookieconsent/build/cookieconsent.min.css'
|
'node_modules/cookieconsent/build/cookieconsent.min.css',
|
||||||
]).pipe(gulp.dest('assets/vendor/cookieconsent'));
|
]).pipe(gulp.dest('assets/vendor/cookieconsent'));
|
||||||
|
|
||||||
// fullcalendar
|
// fullcalendar
|
||||||
gulp.src(['node_modules/fullcalendar/index.global.min.js']).pipe(
|
gulp.src(['node_modules/fullcalendar/index.global.min.js']).pipe(gulp.dest('assets/vendor/fullcalendar'));
|
||||||
gulp.dest('assets/vendor/fullcalendar')
|
|
||||||
);
|
|
||||||
|
|
||||||
// fullcalendar-moment
|
// fullcalendar-moment
|
||||||
gulp.src(['node_modules/@fullcalendar/moment/index.global.min.js']).pipe(
|
gulp.src(['node_modules/@fullcalendar/moment/index.global.min.js']).pipe(
|
||||||
gulp.dest('assets/vendor/fullcalendar-moment')
|
gulp.dest('assets/vendor/fullcalendar-moment'),
|
||||||
);
|
);
|
||||||
|
|
||||||
// jquery
|
// jquery
|
||||||
|
@ -148,7 +147,7 @@ function vendor(done) {
|
||||||
|
|
||||||
// jquery-jeditable
|
// jquery-jeditable
|
||||||
gulp.src(['node_modules/jquery-jeditable/dist/jquery.jeditable.min.js']).pipe(
|
gulp.src(['node_modules/jquery-jeditable/dist/jquery.jeditable.min.js']).pipe(
|
||||||
gulp.dest('assets/vendor/jquery-jeditable')
|
gulp.dest('assets/vendor/jquery-jeditable'),
|
||||||
);
|
);
|
||||||
|
|
||||||
// moment
|
// moment
|
||||||
|
@ -156,7 +155,7 @@ function vendor(done) {
|
||||||
|
|
||||||
// moment-timezone
|
// moment-timezone
|
||||||
gulp.src(['node_modules/moment-timezone/builds/moment-timezone-with-data.min.js']).pipe(
|
gulp.src(['node_modules/moment-timezone/builds/moment-timezone-with-data.min.js']).pipe(
|
||||||
gulp.dest('assets/vendor/moment-timezone')
|
gulp.dest('assets/vendor/moment-timezone'),
|
||||||
);
|
);
|
||||||
|
|
||||||
// @popperjs-core
|
// @popperjs-core
|
||||||
|
@ -164,7 +163,7 @@ function vendor(done) {
|
||||||
|
|
||||||
// select2
|
// select2
|
||||||
gulp.src(['node_modules/select2/dist/js/select2.min.js', 'node_modules/select2/dist/css/select2.min.css']).pipe(
|
gulp.src(['node_modules/select2/dist/js/select2.min.js', 'node_modules/select2/dist/css/select2.min.css']).pipe(
|
||||||
gulp.dest('assets/vendor/select2')
|
gulp.dest('assets/vendor/select2'),
|
||||||
);
|
);
|
||||||
|
|
||||||
// tippy.js
|
// tippy.js
|
||||||
|
@ -172,14 +171,14 @@ function vendor(done) {
|
||||||
|
|
||||||
// trumbowyg
|
// trumbowyg
|
||||||
gulp.src(['node_modules/trumbowyg/dist/trumbowyg.min.js', 'node_modules/trumbowyg/dist/ui/trumbowyg.min.css']).pipe(
|
gulp.src(['node_modules/trumbowyg/dist/trumbowyg.min.js', 'node_modules/trumbowyg/dist/ui/trumbowyg.min.css']).pipe(
|
||||||
gulp.dest('assets/vendor/trumbowyg')
|
gulp.dest('assets/vendor/trumbowyg'),
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.src(['node_modules/trumbowyg/dist/ui/icons.svg']).pipe(gulp.dest('assets/vendor/trumbowyg/ui'));
|
gulp.src(['node_modules/trumbowyg/dist/ui/icons.svg']).pipe(gulp.dest('assets/vendor/trumbowyg/ui'));
|
||||||
|
|
||||||
// flatpickr
|
// flatpickr
|
||||||
gulp.src(['node_modules/flatpickr/dist/flatpickr.min.js', 'node_modules/flatpickr/dist/flatpickr.min.css']).pipe(
|
gulp.src(['node_modules/flatpickr/dist/flatpickr.min.js', 'node_modules/flatpickr/dist/flatpickr.min.css']).pipe(
|
||||||
gulp.dest('assets/vendor/flatpickr')
|
gulp.dest('assets/vendor/flatpickr'),
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.src(['node_modules/flatpickr/dist/themes/material_green.css'])
|
gulp.src(['node_modules/flatpickr/dist/themes/material_green.css'])
|
||||||
|
|
Loading…
Reference in a new issue