Commit 2c2e9fca authored by Nikolay Gromov's avatar Nikolay Gromov

Запилил команду деплоя обратно (буду тестировать)

parent 90c52450
☐ Сделать ALERT
☐ Сделать: кастомные радиокнопки и чекбоксы без графики (CSS-графикой) ☐ Сделать: кастомные радиокнопки и чекбоксы без графики (CSS-графикой)
☐ Выпадающие элементы: решить проблему клика в выпадающем блоке (происходит закрытие блока) ☐ Выпадающие элементы: решить проблему клика в выпадающем блоке (происходит закрытие блока)
☐ Добавить заглушки пустых картинок и тестировать! http://bitsofco.de/styling-broken-images/ ☐ Добавить заглушки пустых картинок и тестировать! http://bitsofco.de/styling-broken-images/
......
...@@ -256,7 +256,10 @@ gulp.task('serve', function () { ...@@ -256,7 +256,10 @@ gulp.task('serve', function () {
port: port, port: port,
startPath: 'blocks_library.html' startPath: 'blocks_library.html'
}); });
browserSync.watch([dirs.build + '/**/*.*', '!' + dirs.build + + '/**/*.map.*']).on('change', browserSync.reload); browserSync.watch([
dirs.build + '/**/*.*',
'!' + dirs.build + + '/**/*.map.*'
]).on('change', browserSync.reload);
}); });
// Отправка в GH pages (ветку gh-pages репозитория) // Отправка в GH pages (ветку gh-pages репозитория)
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"description": "Start a library of blocks and technical solutions for HTML/CSS/js page layout.", "description": "Start a library of blocks and technical solutions for HTML/CSS/js page layout.",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "./node_modules/.bin/gulp" "start": "./node_modules/.bin/gulp",
"deploy": "cross-env NODE_ENV=production gulp build && gulp deploy"
}, },
"author": "Nikolay Gromov", "author": "Nikolay Gromov",
"license": "MIT", "license": "MIT",
...@@ -16,6 +17,7 @@ ...@@ -16,6 +17,7 @@
"autoprefixer": "^6.3.3", "autoprefixer": "^6.3.3",
"browser-sync": "^2.11.1", "browser-sync": "^2.11.1",
"css-mqpacker": "^4.0.0", "css-mqpacker": "^4.0.0",
"cross-env": "^1.0.7",
"del": "^2.2.0", "del": "^2.2.0",
"gulp": "github:gulpjs/gulp#4.0", "gulp": "github:gulpjs/gulp#4.0",
"gulp-cheerio": "^0.6.2", "gulp-cheerio": "^0.6.2",
......
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