1.0.11 • Published 9 years ago
gulp-boilerplate-xd v1.0.11
gulp-boilerplate
Generate start stack: less(concat, minify, sourcemap) + sprite generator + js (concatinate, uglify) + deploy (ftp) + watch + livereload
Get started
git clone https://github.com/xdan/gulp-boilerplate.git
cd gulp-boilerplate
npm install
gulpDeploy to GITHUB
npm run biuldCommands
gulp spriteBuild assets/images/* images in one spritee and generate sprite.less
gulp lessConcatinate assets/css/*.less files in one, compile in css, adds prefix and clean
gulp compressConcatinate assets/js/*.js files in one and uglify
gulp deploySend build/* to server by ftp
gulp watchWatch for assets/css/*.less, assets/js/*.js, assets/images/* after change run sprite, less, compress and after complete this run deploy
gulp defaultor
gulpCreate http server, watch for assets/css/*.less, assets/js/*.js, assets/images/* after change run sprite, less, compress and reload page
Debug
gulp compress --dbgConcat js files without uglify
gulp less --dbgConcat less and compile files without cleanCSS