Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for ignoring devDependencies via boolean config option ignoreDevDependencies #9

Merged
merged 2 commits into from
Nov 29, 2016

Conversation

palmerj3
Copy link
Contributor

No description provided.

@palmerj3
Copy link
Contributor Author

@hzoo can you take a look?

@hzoo
Copy link
Contributor

hzoo commented Nov 29, 2016

Oh yeah, took a break last week and forgot about this!

@@ -47,7 +48,8 @@ module.exports = function checkLicenses(config) {
}

checker.init({
start: process.cwd()
start: process.cwd(),
production: ignoreDevDependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool --production only show production dependencies. https://github.com/davglass/license-checker#options

@hzoo
Copy link
Contributor

hzoo commented Nov 29, 2016

If you want we can add an example output for the options

@hzoo hzoo merged commit 4285954 into behance:master Nov 29, 2016
@hzoo
Copy link
Contributor

hzoo commented Nov 29, 2016

Awesome thanks!

@palmerj3 palmerj3 deleted the ignoreDevDeps branch November 29, 2016 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants