Needlessly Provoking Marsupials
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

duo-debower

0.2.3 • Public • Published

duo-debower

converts bower.json to component.json

intended to be used as a duo build plugin which runs immediately after fetching a package from git.

if a component does not have a component.json but does have a bower.json, then a component.json is automatically generated using the information in bower.json.

this enables you to require bower packages using their short repo name, e.g.

require('angular-bower/angular');

when creating the component.json bower dependencies are converted to their github urls using bower.lookup

this project is experimental

the duo build hook is not available yet so to see this you have to use my fork of duo which can be found here

see this plugin in action here

roadmap:

  • more config options (e.g. scriptExtensions, styleExtensions, amdMappings)
  • auto-require bower dependencies?
  • deamdify/browserify-shim?

Keywords

none

install

npm i duo-debower

Downloadsweekly downloads

0

version

0.2.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability