Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Latest commit

 

History

History
40 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.15 KB

grunt-license-saver Build Status David

Store the license of the library you are using.

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-license-saver --save-dev

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

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

Save-license task

Run this task with the grunt save_license command.

Usage Examples

Make to licenses.json

save_license: {
  dist: {
    src: ['**/*.js'],
    dest: 'licenses.json'
  }
}

License

MIT License.