Questions tagged [grunt-plugins]

This plugin listing is automatically generated from the npm module database. Officially maintained "contrib" plugins are marked with a star icon and are shown at the top of every search by default.

This plugin listing is automatically generated from the npm module database. Officially maintained "contrib" plugins are marked with a star icon and are shown at the top of every search by default.

The Grunt ecosystem is huge and it's growing every day. With literally hundreds of plugins to choose from, you can use Grunt to automate just about anything with a minimum of effort. If someone hasn't already built what you need, authoring and publishing your own Grunt plugin to npm is a breeze.

Many of the tasks you need are already available as Grunt Plugins, and new plugins are published every day. While the plugin listing is more complete, here's a few you may have heard of.

22 questions
6
votes
2 answers

Mixing grunt and gulp

I've been using grunt task runner in all of the angular projects I was involved in. Currently, I found a gulp-protractor-qa plugin for gulp that watches all my element selectors in the tests on the fly. It is good at what it does, but now I have to…
alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
5
votes
3 answers

How to fix requires a peer of grunt@~0.4.0 while installing grunt plugins?

I am trying to install some Grunt plugins like grunt-contrib-clean and grunt-contrib-watch using npm install grunt-contrib-clean --save-dev and npm install grunt-contrib-watch --save-dev I got these warnings: npm WARN stellarhse@1.0.0 requires a…
3
votes
3 answers

appending text to multiple files using grunt-file-append

How to append text to multiple files using grunt-file-append https://www.npmjs.com/package/grunt-file-append grunt.initConfig({ file_append: { default_options: { files: [ { append: "text to append", prepend:…
patz
  • 1,306
  • 4
  • 25
  • 42
2
votes
1 answer

Local Npm module "GRUNT-PLUGIN-MODULE" not found. Is it installed? What's causing this?

How to load your new grunt-plugin module to your project. example of dir structure: |-- abc-project | |-- ... | |-- app.js | |-- Gruntfile.js --> `grunt.loadNpmTasks('my-grunt-plugin');` | \-- package.json | \--…
Shadi Abu Hilal
  • 281
  • 1
  • 3
  • 7
2
votes
1 answer

grunt-processhtml remove not working when specifying a target

I'm new to grunt. I'm trying to remove a snippet of code from my index.html pagae when using grunt to build to my prod environment. Here's my code: Some App