Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automating the front-end workflow with Grunt: a...

Avatar for Julien M. Julien M.
November 20, 2013

Automating the front-end workflow with Grunt: a real-world example

@supacruz and @bastienpetit will detail how they use Grunt in a high expectations and scalability context (big brands, tens of thousands of web pages).

Avatar for Julien M.

Julien M.

November 20, 2013
Tweet

Other Decks in Programming

Transcript

  1. Automating the front-end workflow at Leadformance with Grunt Julien Marchand

    @supacruz Bastien Petit @bastienpetit Meetup Geneva.rb 20.nov.2013
  2. grunt.loadNpmTasks(...) • 'grunt-contrib-jshint' • 'grunt-contrib-csslint' • 'grunt-contrib-concat' • 'grunt-contrib-uglify' •

    'grunt-contrib-cssmin' • 'grunt-contrib-imagemin' • 'grunt-contrib-clean' • 'grunt-contrib-copy' • 'grunt-contrib-compress' • 'grunt-http-upload' • 'grunt-notify' • 'grunt-open' • 'grunt-contrib-watch' NEXT • // 'grunt-usemin' • // 'grunt-liquid' define common rules optimize perfs (concat, minify) (it found > 1MB pictures…) build & zip upload (POST) to Bridge API make me click less! • cache busting • view liquid in local ⇒ Proxy remote rails app? Local liquid interpretation? Our Gruntfile.js
  3. More and more people are giving Grunt a try... Source:

    http://npm-stat.vorba.ch/charts.html?package=grunt