Check devDependencies when development flag is active
Check devDependencies when development flag is active

Before the onlyDirectDependenciesFilter is initialized for the
devDependencies, the packageJsonContents.devDependencies needs to be
checked instead of the packageJsonContents.dependencies, otherwise
if there are not any dependencies in the package json, the output
will be empty.

mwittig/npm-license-crawler