millermedeiros / crossroads.js

JavaScript Routes
http://millermedeiros.github.com/crossroads.js/
1.44k stars 156 forks source link

Bower support #96

Open heruan opened 11 years ago

heruan commented 11 years ago

I notice there is no bower.json file on this project, it would be useful to add one to install Crossroads and its dependency (Signals) automatically with bower!

binarykitchen commented 11 years ago

+1

justgage commented 11 years ago

Doesn't look hard to do actually here's the instructions http://bower.io/#defining-a-package

millermedeiros commented 11 years ago

I'm planning a new release next week to fix a minor bug and do some small improvements and will include this change

goldfeld commented 10 years ago

This would indeed be nice to have.

darkone23 commented 10 years ago

another vote for bower support, to anyone looking for an intermediate solution you can already use this repo with bower:

{
  // ...
  "dependencies": {
    // ...
    "crossroads.js": "millermedeiros/crossroads.js#v0.12.0"
  }
}
tibbon commented 10 years ago

Additionally, this needs a 'main' section like this to work with wiredep:

"main": "dist/crossroads.js"

joscha commented 9 years ago

and a

      "dependencies": {
        "js-signals": "1.0.0"
      }
vmariano commented 9 years ago

:+1:

sobolevn commented 8 years ago

This is needed.

thiagodp commented 8 years ago

+1

It could look like this: bower.json

{
    "name": "crossroads",
    "main": [
        "dist/crossroads.js"
    ],
    "ignore": [
        "**/.*",
        "_assets",
        "dev",
        "dist"
    ],
    "dependencies": {
        "js-signals": ">=1.0.0"
    }
}