Coder Social home page Coder Social logo

grunt-boilerplate's Introduction

Grunt Boilerplate

A função deste codigo é permitir automatizar tarefas como: concatenação de scripts, compilação, minificação, testes unitários, estruturação e padronização de pastas, download de bootstrap em sass

A vantagem disso é que você não precisa utilizar uma ferramenta pra cada uma dessas tarefas, pois tudo esta centralizado no Grunt que dá conta de tudo. Fazendo que o desenvolvedor tenha um projeto com padrões front-end e ganhando agilidade no seu desenvolvimento.

Observações

Se necessário execute os comandos com sudo

Para configurar o Grunt

  1. Instale o nodejs através do link: NodeJS via Package Manager
  2. Instale o Sass na sua máquina: $ gem install sass
  3. Instale o Grunt na sua máquina: $ npm install -g grunt grunt-cli
  4. Instale as dependências do Grunt: $ npm install

Vamos lá

Clonar este repositório

git clone https://github.com/cahfelix/boilerplate-grunt.git

Acessar a pasta do projeto

cd boilerplate-grunt

Instale as dependências

npm install

Comandos para rodar tasks

  • EXECUTA TODAS AS TASKS: $ grunt
  • INSTALA BOOTSTRAP EM SASS: $ grunt bootstrap
  • LIMPAR CACHE DE JS E CSS: $ grunt clean
  • SASS WATCH: $ grunt sass-watch
  • SASS COMPILE: $ grunt sass-compile
  • IMAGE COMPRESSOR: $ grunt image-compressor
  • COMPRIMIR JS: $ grunt js-compressor
  • GERAR SPRITESHEET: $ grunt spritesheet

Autor

Cah Felix

Contribuidores

Cah Felix

grunt-boilerplate's People

Contributors

cahfelix avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.