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

Automatizando el Desarrollo Front-End utilizando Grunt

Automatizando el Desarrollo Front-End utilizando Grunt

"Automating the front-end development workflow using Grunt" is an introductory talk about using Grunt to reduce repetitive development tasks such as: running tests, image optimization, concatenating, minifying, deployment and so on.

Language: Spanish.
Repository: https://github.com/rmariuzzo/grunt-talk
Event: https://www.facebook.com/events/1465352030402544/

Rubens Mariuzzo

September 16, 2014
Tweet

More Decks by Rubens Mariuzzo

Other Decks in Programming

Transcript

  1. ¿Qué es Grunt? ★ JavaScript Task Runner. ★ Corre con

    NodeJS. ★ Instalable vía NPM. ★ Ejecutable vía línea de comandos.
  2. Hello World desde Grunt module.exports = function(grunt) { grunt.registerTask('default', function()

    { grunt.log.write('Hello World from Grunt!'); }); }; nombre de la tarea tarea a ejecutar Gruntfile.js
  3. Automatizando tareas repetitivas con Grunt ✓ Minification. ✓ Preprocessing. ✓

    Unit Testing. ✓ Linting. ✓ Ejecución de comandos. ✓ Creación de web server. ✓ Deployment. ✓ Compresión / optimización de imágenes. ✓ Concatenación.
  4. Automatizando tareas de CSS ✓ Concatenar. ✓ Minificar. ✓ Agregar

    información de autoría. ✓ Refrescar navegadores.
  5. Automatizando tareas de JS ✓ Detectar errores y potenciales problemas.

    ✓ Concatenar. ✓ Minificar. ✓ Ejecutar unit tests.