Utilizo por padrão os seguinte plugins em meus projetos:
PLUGIN | DESCRIÇÃO | LINK |
---|---|---|
Server | ||
grunt-contrib-watch | Observa as mudanças dos arquivos | https://npmjs.org/package/grunt-contrib-watch |
grunt-contrib-connect | Inicia um servidor web estático | https://npmjs.org/package/grunt-contrib-connect |
Build | ||
grunt-contrib-uglify | Minificação de arquivos | https://npmjs.org/package/grunt-contrib-uglify |
grunt-contrib-compass | Compilação de arquivos (Sass/Scss) | https://npmjs.org/package/grunt-contrib-compass |
grunt-contrib-jshint | Validação de scripts | https://npmjs.org/package/grunt-contrib-jshint |
grunt-contrib-imagemin | Otimização para imagens | https://npmjs.org/package/grunt-contrib-imagemin |
grunt-contrib-requirejs | Otimização para o carregamento de scripts | https://npmjs.org/package/grunt-contrib-requirejs |
Copy & Clean | ||
grunt-contrib-copy | Copiar arquivos e diretórios | https://npmjs.org/package/grunt-contrib-copy |
grunt-contrib-clean | Limpar arquivos e diretórios | https://npmjs.org/package/grunt-contrib-clean |
Testes | ||
grunt-cafe-mocha | Rodar testes server side com o Mocha | https://npmjs.org/package/grunt-cafe-mocha |
grunt-mocha-test | Alternativa para rodar testes server side com o Mocha | https://npmjs.org/package/grunt-mocha-test |
grunt-contrib-qunit | Rodar testes com o QUnit (com a ajuda do PhantomJS) | https://npmjs.org/package/grunt-contrib-qunit |
Deploy | ||
grunt-ftp-deploy | Deploy de arquivos via FTP | https://npmjs.org/package/grunt-ftp-deploy |
grunt-rsync | Deploy de arquivos via Rsync | https://npmjs.org/package/grunt-rsync |
grunt-ssh | Deploy de arquivos via SSH | https://npmjs.org/package/grunt-ssh |
grunt-git-ftp | Deploy de arquivos com Git | https://npmjs.org/package/grunt-git-ftp |
Compress & Share | ||
grunt-zip | Compressão de arquivos em formato ZIP | https://npmjs.org/package/grunt-zip |
grunt-contrib-compress | Compressão de arquivos em formato (G)ZIP | https://npmjs.org/package/grunt-contrib-compress |
Dependencies | ||
grunt-processhtml | Processa um arquivo HTML de acordo com o ambiente de trabalho | https://npmjs.org/package/grunt-processhtml |
Misc | ||
grunt-shell | Executa comandos Shell | https://npmjs.org/package/grunt-shell |
grunt-markdown | Converte arquivo markdown em HTML | https://npmjs.org/package/grunt-markdown |
grunt-autoshot | Capturar telas em diversos viewports (útil para projetos resposnivos) | https://npmjs.org/package/grunt-autoshot |
Utils | ||
load-grunt-tasks | Carrega automaticamente todos os plugins do grunt | https://npmjs.org/package/load-grunt-tasks |
time-grunt | Mostra o tempo de execução das tarefas | https://npmjs.org/package/time-grunt |
Projetos PHP | ||
grunt-php | Inicia um web server PHP | https://npmjs.org/package/grunt-php |
grunt-phpunit | Realiza testes unitários em projetos PHP | https://npmjs.org/package/grunt-php |
grunt-phpcs | Mantém os padrões de código consistente e legível no projeto (PHP CodeSniffer) | https://npmjs.org/package/grunt-phpcs |
grunt-php-analyzer | Analize e validação dos arquivos | https://npmjs.org/package/grunt-php |