kanso / kanso

The comprehensive CouchApp build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compatible with bower

gabrielmancini opened this issue · comments

Hy Guys,

There is some gotchas to make Kanso compatible with bower?

tks

Yes...bower is based on requirejs, and kanso (and couch in general) is
based in commonjs. If the module you are using in bower is UMD based, it
might work ok.

There was some work a while ago by Jason Smith and Caolan to make kanso
work kanso work with npm (which is probably more sensible). Work seems to
be in this branch https://github.com/kanso/kanso/tree/npm

On Wed, Feb 19, 2014 at 12:52 PM, Gabriel Mancini de Campos <
notifications@github.com> wrote:

Hy Guys,

There is some gotchas to make Kanso compatible with bower?

tks

Reply to this email directly or view it on GitHubhttps://github.com//issues/406
.

How i know if the modules is using UMD (its like AMD?)?

my bower.js

    "angular": "~1.2.1",
    "angular-bootstrap": "~0.6.0",
    "angular-mocks": "~1.2.1",
    "angular-ui-router": "gabrielmancini/ui-router#0.3.0",
    "bootstrap": "3.0.0",
    "html5shiv": "~3.7.0",
    "jquery": "~2.0.3",
    "requirejs": "~2.1.8",
    "restangular": "~1.1.8",
    "pouchdb" :"~1.1.0",
    "angular-pouchdb": "~0.1.3"