Skip to content

Commit

Permalink
feat(devDeps): add devDependencies
Browse files Browse the repository at this point in the history
useful metric to show
  • Loading branch information
Haroenv committed Apr 1, 2017
1 parent d0ebb97 commit 01058ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions formatPkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default function formatPkg(pkg) {
}

const dependencies = cleaned.dependencies || {};
const devDependencies = cleaned.devDependencies || {};
const concatenatedName = cleaned.name.replace(/[-/@_.]+/g, '');

const rawPkg = {
Expand All @@ -71,6 +72,7 @@ export default function formatPkg(pkg) {
version,
description: cleaned.description ? cleaned.description : null,
dependencies,
devDependencies,
originalAuthor: cleaned.author,
githubRepo,
gitHead,
Expand Down

0 comments on commit 01058ef

Please sign in to comment.