Notorious Penguin Magicians
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

grunt-footer

1.1.0 • Public • Published

grunt-footer Build Status

Add a footer to files

Install

$ npm install --save-dev grunt-footer

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
 
grunt.initConfig({
    info: 'footer text',
    footer: {
        dist: {
            options: {
                text: '<%= info %>'
            },
            files: {
                'dist/main.js': 'src/main.js'
            }
        }
    }
});
 
grunt.registerTask('default', ['footer']);

Options

text

Type: string

Text to be appended to files.

License

MIT © Sindre Sorhus

install

npm i grunt-footer

Downloadsweekly downloads

104

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar