const del = require('del'); const fs = require('fs'); const gulp = require('gulp'); const merge = require('merge-stream'); const rename = require('gulp-rename'); const replace = require('gulp-replace'); const rsync = require('gulp-rsync'); const sequence = require('run-sequence'); const zip = require('gulp-zip'); const pages = require('gulp-gh-pages'); gulp.task('prepare', () => { const shower = gulp.src([ '**', '!docs{,/**}', '!node_modules{,/**}', '!prepared{,/**}', '!CONTRIBUTING.md', '!LICENSE.md', '!README.md', '!gulpfile.js', '!package.json' ]) .pipe(replace( /()/g, '$1shower/themes/$3/$4', { skipBinary: true } )) .pipe(replace( /(