Giter VIP home page Giter VIP logo

grunt's Introduction

Introduction

This repo contains Grunt, a dockerized service to run Grunt tasks in Alpine.

It also uses the latest available nodejs stable version

Grunt

Grunt let's us automate tasks when building web applications. For example, we run tasks to compress our web files (images, js, css) to serve them more efficiently, also we run tasks to check the code format (jshint, scsshint), or we can also run watchers to execute tasks when files are modified. If you are new to Grunt we recommend you to check the official documentation first.

Getting started

Requirements

Configuration

Check the configuring tasks section of the Grunt official documentation as a guideline for configuring your tasks.

Usage

This service is meant to start a docker container, run a grunt task and then be removed when the task is completed. For example:

docker run -it --rm -v $(pwd):/srv -w="/srv/src/resource" huli/grunt:alpine jshint

The above comand will start a docker container with the huli/grunt image, mounting the folder project in the /srv folder and setting /srv/src/resource as the working directory, this should be the folder where the Gruntfile.js is located. Finally it will run npm install and execute the jshint task.

grunt's People

Contributors

mhnavarro avatar marconn avatar stevevega avatar

Stargazers

ax4 avatar

Watchers

David Mora avatar Moises Brenes avatar  avatar Luis C. avatar James Cloos avatar Fernando de la Rosa avatar Daniel Mora avatar Andrey Bolaños Sandoval avatar Abraham avatar Ricardo Brenes avatar Óscar Fernández avatar Kennt Chan avatar Jose Pablo Garbanzo avatar Kevin Zuniga Aguero avatar Fabian Hernandez avatar  avatar Sebastián Segura avatar Marco Carmona avatar Carlos Mario Solano avatar Yi Huang avatar Hugo Martín avatar Fabio Mora avatar

Forkers

clonemeagain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.