your time saving front end workflow
DESCRIPTION
A GruntJS set up to increase the happiness level on front end developersTRANSCRIPT
![Page 1: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/1.jpg)
YOUR TIME SAVING!FRONT END WORKFLOW
@kurenn
![Page 2: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/2.jpg)
So you want to start a new website?
![Page 3: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/3.jpg)
SASSHAML LESS
Bootstrap
BoilerplateDevices CSS
Coffeescript HTMLjQuery
Yeoman
![Page 4: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/4.jpg)
![Page 5: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/5.jpg)
We all know time is a key factor in staying productive
![Page 6: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/6.jpg)
So you probably think you are really good at saving time by
![Page 7: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/7.jpg)
Harvest App
Pomodoro
Rescue TimeBathroom time
Answer emails
Avoid long meetings
SelfControl
![Page 8: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/8.jpg)
But we are hackers right?
![Page 9: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/9.jpg)
We can automate repetitive tasks and !be more efficient
![Page 10: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/10.jpg)
This is how you probably set up your environment today
Download libraries
Create the directories structure
Download templates
And the worse thing is you probably change your structure each time
![Page 11: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/11.jpg)
Even with everything nicely set up it can take a couple of minutes to start and there
is still more…
![Page 12: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/12.jpg)
Assets compilation
Watch for changes
LiveReload
Minify and concatenate
Deployment
Linting
Because we are all doing this right?
![Page 13: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/13.jpg)
![Page 14: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/14.jpg)
Helps you run repetitive tasks
![Page 15: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/15.jpg)
Assets compilation
Watch for changes
LiveReload
Minify and concatenate
Deployment
Linting
![Page 16: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/16.jpg)
A perfect alternative to !Rake/Make/Ant
![Page 17: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/17.jpg)
https://github.com/andismith/grunt-responsive-images
Produces images at different sizes
![Page 18: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/18.jpg)
https://github.com/gruntjs/grunt-contrib-concat
Concatenate files
![Page 19: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/19.jpg)
https://github.com/gruntjs/grunt-contrib-watch
Run predefined tasks whenever watched file patterns are added, changed or deleted.
![Page 20: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/20.jpg)
https://github.com/gruntjs/grunt-contrib-coffee
Compile CoffeeScript files to JavaScript.
![Page 21: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/21.jpg)
https://github.com/gruntjs/grunt-contrib-clean
Clear files and folders.
![Page 22: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/22.jpg)
https://github.com/gruntjs/grunt-contrib-uglify
Minify files with UglifyJS
![Page 23: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/23.jpg)
https://github.com/gruntjs/grunt-contrib-compass
Compile Compass to CSS
![Page 24: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/24.jpg)
https://github.com/gruntjs/grunt-contrib-livereload
Reload assets live in the browser
![Page 25: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/25.jpg)
A super simple set-up
![Page 26: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/26.jpg)
![Page 27: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/27.jpg)
![Page 28: Your time saving front end workflow](https://reader034.vdocuments.mx/reader034/viewer/2022051608/53ffe7ee8d7f724c088b4998/html5/thumbnails/28.jpg)
Always remember
If you are not automating your workflow,!you are probably working too hard