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

    grunt-license-collectionpublic

    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']);
    };
    

    Keywords

    none

    install

    npm i grunt-license-collection

    Downloadsweekly downloads

    6

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar