Skip to content

Dependency issues / doesn't play nice with yeoman/bower #149

Description

I've got a project with quite a few bower packages in it. When I run bower install skeuomorph -S, it injects some redundant stuff:

<script src="bower_components/skeuocard/javascripts/vendor/cssua.min.js"></script>
<script src="bower_components/skeuocard/javascripts/vendor/demo.fix.js"></script>
<script src="bower_components/skeuocard/javascripts/vendor/jquery-2.0.3.min.js"></script>
<script src="bower_components/skeuocard/javascripts/skeuocard.js"></script>
<script src="bower_components/skeuocard/javascripts/skeuocard.min.js"></script>

Not only does it inject the Skeuocard JS file twice (one minified), it also includes jQuery which I've already got in my project. I'm no expert at all with bower, but it seems there's a way to check to see if the project already has jQuery, and if it doesn't, to go ahead and install it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions