ember-cli-json-license
Ember CLI addon that adds a license
command for exporting front-end NPM and Bower licenses.
It also provides a modal component for displaying licenses information on UI.
Installation
Ember CLI
$ ember install ember-cli-license
NPM
$ npm install --save-dev ember-cli-license
Usage
When invoked with no options:
$ ember license
It will:
- Look for a
node_modules
folder at current path - Scan recursively for npm packages
- Output a json file at
public/assets/licenses/licenses.json
- You can then add a component in your template to display license info on UI
Credits
- davglass's license-checker
- AceMetrix's bower-license
- Rickieshi's ember-cli-license
License
MIT