Skip to content

Instantly share code, notes, and snippets.

@alanyoshida
Last active October 15, 2015 12:55
Show Gist options
  • Save alanyoshida/37d55b2e694d664f30e9 to your computer and use it in GitHub Desktop.
Save alanyoshida/37d55b2e694d664f30e9 to your computer and use it in GitHub Desktop.
Novo Projeto com Yeoman + Bower + Grunt

INSTALA O YEOMAN / GRUNT E BOWER VEM JUNTO

npm install -g yo

GENERATOR HTML5 Boilerplate, jQuery, Modernizr, Bootstrap

npm install -g generator-webapp

CRIA UM NOVO PROJETO

yo webapp

CASO O COMANDO ACIMA NAO FUNCIONE LIMPE O CACHE

bower cache clean

CASO SOMENTE LIMPAR O CACHE NAO FUNCIONE ATUALIZE O YEOMAN

npm cache clean && npm update -g yo

SOBE SERVIDOR LOCAL COM LiveReload

grunt serve

LISTA PACOTES INSTALADOS

bower list

INSLATA O PACOTE E SALVA NO ARQUIVO BOWER.JSON

bower install respond --save

ATUALIZANDO PACOTE

bower update jQuery

GERA BUILD DE PRODUCAO NA PASTA DIST

grunt

OUTROS COMANDOS

bower search bower install grunt serve grunt test grunt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment