Skip to content

Commit

Permalink
Update templates.js (#202)
Browse files Browse the repository at this point in the history
fixed issue that caused dev dependencies to be installed as regular dependencies
  • Loading branch information
emin93 authored and grabbou committed Mar 5, 2019
1 parent 041b7d7 commit 75c86c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/generator/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function installTemplateDevDependencies(templatePath, destinationRoot) {
const dependenciesToInstall = Object.keys(dependencies).map(
depName => `${depName}@${dependencies[depName]}`
);
new PackageManager({ projectDir: destinationRoot }).install(
new PackageManager({ projectDir: destinationRoot }).installDev(
dependenciesToInstall
);
}
Expand Down

0 comments on commit 75c86c8

Please sign in to comment.