With basic tasks gulp for use quickly in any project.
How to use :
- First install node.
- npm install -d
- gulp
tasks:
- gulp-bower: install libs or dependecies.
- gulp-clean: delete all files statics
- gulp-copy : copy all assets from static (img, libs, icons, fonts).
- gulp-css : to compile stylus
- gulp-fonts: to compile fonts building one file fonts.css
- gulp-html : to compile pug
- gulp-icons: to compile icons from the folder icons, each icon must be in svf format.
- gulp-js : to compile es6 to js(es5).
- gulp-sprites: generate sprite from folder "_sprites", each image must be in png format.
- gulp-watch: builder one server and watch any file (es6, pug, styl) for compile only your dependencies.
task minifiqued!!