grunt-license-collection

generate license comment collection js.

npm install grunt-license-collection
1 downloads in the last week
15 downloads in the last month

usage

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        license_collection: {
            dist: {
                src: ['src/js/lib/*.js', 'src/js/*.js'],
                dest: 'js/license.js',
                separator: '\n// license for FILEPATH\n'
            }
        }
    });

    grunt.loadNpmTasks('grunt-license-collection');

    grunt.registerTask('default', ['license_collection:dist']);
};
npm loves you