first commit

This commit is contained in:
编码猿
2024-09-27 01:16:36 +08:00
commit f7fc9bbea0
301 changed files with 33825 additions and 0 deletions

26
shop_Frontend/gulpfile.js Executable file
View File

@@ -0,0 +1,26 @@
const gulp = require('gulp');
const zip = require('gulp-zip');
const ftp = require('gulp-ftp');
const gutil = require('gulp-util');
gulp.task('copy', function () {
return gulp.src('run/*')
.pipe(gulp.dest('dist/'))
});
gulp.task('zip', () =>
gulp.src('dist/**/*')
.pipe(zip('code.zip'))
.pipe(gulp.dest('./'))
);
gulp.task('ftp', function () {
return gulp.src('code.zip')
.pipe(ftp({
host: '103.95.207.27',
user: 'shops',
pass: 'AWWyWBXww8'
}))
.pipe(gutil.noop());
});