Commit 509511a1 authored by Nikolay Gromov's avatar Nikolay Gromov

Обновил зависимости

parent 51440f12
......@@ -427,8 +427,9 @@ gulp.task('build', gulp.series(
));
// Отправка в GH pages (ветку gh-pages репозитория)
gulp.task('deploy', function() {
const ghPages = require('gulp-gh-pages');
gulp.task('deploy', function(cb) {
const ghpages = require('gh-pages');
const path = require('path');
console.log('---------- Публикация содержимого ./build/ на GH pages');
var ghPagesUrl;
if (repoUrl) {
......@@ -439,8 +440,9 @@ gulp.task('deploy', function() {
console.log('---------- ' + ghPagesUrl);
}
return gulp.src(dirs.buildPath + '**/*')
.pipe(ghPages());
ghpages.publish(path.join(process.cwd(), dirs.buildPath), cb);
// return gulp.src(dirs.buildPath + '**/*')
// .pipe(ghPages());
});
// Локальный сервер, слежение
......
......@@ -31,26 +31,26 @@
},
"devDependencies": {
"@htmlacademy/editorconfig-cli": "^1.0.0",
"autoprefixer": "^8.0.0",
"autoprefixer": "^9.3.1",
"browser-sync": "^2.18.8",
"const": "^1.0.0",
"cross-env": "^5.0.0",
"css-mqpacker": "^6.0.0",
"css-mqpacker": "^7.0.0",
"del": "^3.0.0",
"gh-pages": "^2.0.1",
"gulp": "^4.0.0",
"gulp-cheerio": "^0.6.2",
"gulp-cleancss": "^0.2.2",
"gulp-concat": "^2.6.1",
"gulp-debug": "^4.0.0",
"gulp-gh-pages": "git+https://github.com/nicothin/gulp-gh-pages.git",
"gulp-html-beautify": "^1.0.1",
"gulp-if": "^2.0.2",
"gulp-imagemin": "^4.0.0",
"gulp-imagemin": "^5.0.3",
"gulp-insert": "^0.5.0",
"gulp-newer": "^1.3.0",
"gulp-notify": "^3.0.0",
"gulp-plumber": "^1.1.0",
"gulp-postcss": "^7.0.0",
"gulp-postcss": "^8.0.0",
"gulp-pug": "^4.0.1",
"gulp-pug-lint": "git+https://github.com/nicothin/gulp-pug-lint.git",
"gulp-rename": "^1.2.2",
......@@ -58,17 +58,17 @@
"gulp-sass": "^4.0.1",
"gulp-size": "^3.0.0",
"gulp-sourcemaps": "^2.4.1",
"gulp-svgmin": "^1.2.3",
"gulp-svgstore": "^6.1.0",
"gulp-svgmin": "^2.1.0",
"gulp-svgstore": "^7.0.0",
"gulp-uglify": "^3.0.0",
"gulp-wait": "0.0.2",
"gulp.spritesmith": "^6.3.0",
"husky": "^0.14.3",
"jstransformer-markdown-it": "^2.0.0",
"lint-staged": "^7.0.0",
"lint-staged": "^8.0.4",
"merge-stream": "^1.0.1",
"mkdirp": "^0.5.1",
"postcss-import": "^11.0.0",
"postcss-import": "^12.0.1",
"postcss-inline-svg": "^3.0.0",
"postcss-object-fit-images": "^1.1.2",
"stylelint": "^9.1.1",
......@@ -76,10 +76,10 @@
},
"dependencies": {
"baron": "^3.0.3",
"ismobilejs": "^0.4.0",
"ismobilejs": "^0.5.1",
"jquery": "^3.1.1",
"jquery-migrate": "^3.0.0",
"nouislider": "^11.0.3",
"nouislider": "^12.1.0",
"object-fit-images": "^3.2.3",
"owl.carousel": "^2.2.0",
"svg4everybody": "^2.1.8",
......
......@@ -79,7 +79,7 @@
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/jquery-migrate/dist/jquery-migrate.min.js",
"./node_modules/svg4everybody/dist/svg4everybody.js",
"./node_modules/ismobilejs/isMobile.min.js",
"./node_modules/ismobilejs/dist/isMobile.min.js",
"./node_modules/owl.carousel/dist/owl.carousel.js",
"./node_modules/swipejs/build/swipe.min.js",
"./node_modules/nouislider/distribute/nouislider.js",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment