ng-tools / generator-ng-factory

Yeoman-like generator for ngFactory
MIT License
12 stars 3 forks source link

Wrong dependency in package.json #4

Closed bkrieger1991 closed 9 years ago

bkrieger1991 commented 9 years ago

Hello,

it seems that the generated "package.json" for angular-components gets a wrong dependency.

Reproduction: after a clean install via "yo ng-factory" and the question "What are you building today?" answered with "component" the undertaker-dependency is: "undertaker-app-tasks": "^0.2".

This leads to an error if you try to run a gulp-task (serve or build): Error: Bower components directory does not exist at /path/to/your/project//app/bower_components

Well, changed this dependency to "undertaker-lib-tasks": "^0.3" resolves this error and builds the project the right way, without any issue.

Hope this detail can help make it even better ;)

mgcrea commented 9 years ago

@bkrieger1991 Thanks for the report ;-)!