open-index/open-npm huggingface dataset:
npm package: @jwalsh/grunt-invalidate-cloudfront
Description: Sends a invalidation request to amazon cloudfront
Author: Steffen
Latest version: 1.0.4

# grunt-invalidate-cloudfront

> Sends a invalidation request to Amazon CloudFront.

## Getting Started

```shell
npm install @jwalsh/grunt-invalidate-cloudfront --save-dev
```

One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-invalidate-cloudfront');
```

## The "invalidate_cloudfront" task

### Example
In your project's Gruntfile, add a section named `invalidate_cloudfront` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  invalidate_cloudfront: {
    options: {
      distribution: 'XXXXXX'
    },
    production: {
      files: [{
        expand: true,
        cwd: './build/',
        src: ['**/*'],
        filter: 'isFile',
        dest: ''
      }]
    }
  }
})
```

## Release History

- 2013-05-05 - First release

### Builds 

[![Known Vulnerabilities](https://snyk.io/test/github/jwalsh/grunt-invalidate-cloudfront/badge.svg)](https://snyk.io/test/github/jwalsh/grunt-invalidate-cloudfront)