acemetrix / grunt-license Goto Github PK
View Code? Open in Web Editor NEWGrunt task to generate a list of licenses used in a project
License: MIT License
Grunt task to generate a list of licenses used in a project
License: MIT License
For consumption
Perhaps if you have 2 versions of underscore, for example, and you really only care about one
Use bower to search its dependencies for the projects as well as npm's (current)
I just tried to genenerate licenses only for "dependencies" (not "devDependencies").
A json file with ALL npm packages was generated.
license: {
options: {
depth: null,
include: "dependencies"
},
default: {
output: 'LICENSES.json'
}
}
I would really like to have the ability for my output to look like this:
{
"libname1": "The contents of the MIT license",
"libname2": "My cool license",
...
}
If you only care about listing the surface-level dependencies
zlib
gpl
mozilla
There are many projects that don't have an easy way to get the license. After manual inspection, the user should be able to override the UNKNOWN license that grunt generates
perhaps as an option:
{
depTypes: ['peer', 'dev', 'normal', 'all`]
}
where all
does all of peer
, dev
, and `normal. The default is normal (as it was)
[email protected] in npm uses
require('license-checker');
but this module is not specified in any *dependencies
section in packages.json
I get an error installing this package:
UNMET PEER DEPENDENCY [email protected]
npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.