Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Include non Bower file #66

Open
easingthemes opened this issue Feb 6, 2016 · 1 comment
Open

Include non Bower file #66

easingthemes opened this issue Feb 6, 2016 · 1 comment

Comments

@easingthemes
Copy link

Is there any way to include non bower plugin?
I want to escape creating separate concat task for some plugins which are not available trough Bower.

@ssteinerx
Copy link

If the plugin has a public repository, fork it and add a bower.json to it, then pull from your own repo.

Here's the one I just did for flot, which I needed but had an obsolete bower specification:

{
    "name": "flot",
    "version": "0.8.3",
    "main": "jquery.flot.js",
    "dependencies": {
        "jquery": ">= 1.2.6"
    }
}

Then, I just added this to the "dependencies" in the bower.json for my main project:

"flot": "[email protected]:ssteinerx/flot.git#^0.8.3"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants