crossroads.js icon indicating copy to clipboard operation
crossroads.js copied to clipboard

Bower support

Open heruan opened this issue 11 years ago • 10 comments

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!

heruan avatar Sep 07 '13 13:09 heruan

+1

binarykitchen avatar Sep 25 '13 13:09 binarykitchen

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

justgage avatar Sep 25 '13 14:09 justgage

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

millermedeiros avatar Oct 25 '13 14:10 millermedeiros

This would indeed be nice to have.

goldfeld avatar Apr 10 '14 11:04 goldfeld

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"
  }
}

darkone23 avatar Apr 20 '14 19:04 darkone23

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

"main": "dist/crossroads.js"

tibbon avatar Oct 27 '14 15:10 tibbon

and a

      "dependencies": {
        "js-signals": "1.0.0"
      }

joscha avatar Nov 18 '14 12:11 joscha

:+1:

vmariano avatar Jul 21 '15 20:07 vmariano

This is needed.

sobolevn avatar Nov 27 '15 22:11 sobolevn

+1

It could look like this: bower.json

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

thiagodp avatar May 03 '16 04:05 thiagodp