biasmv/pv — pull request #54 by greenify (2014-11-03 14:19:54+00:00)
Title: listed on the biojs registry

Hi,

This is an experimental "workaround" to get your awesome component onto the [BioJS registry](http://registry.biojs.net/client/#/). BioJS aims at building a infrastructure, guidelines and tools to avoid the reinvention of the wheel in life sciences - so basically helping everyone to discover, use and combine your component :-)

If you have a better idea or consider to use CJS/npm in the future, feel free to reject this.

## Technical notes

BioJS uses npm packages, that is why

* I renamed the package.json to `bio-pv` (pv is already taken)
* I added the `browserify` task to test the package
* I added the index.js and map there some variables to the global window instance (I didn't want to touch your code - except for `export` definitions)

(It would be awesome if the pv component would wrap itself into an own namespace)

## Test

npm install
grunt browserify && biojs-sniper

-> example snippets at http://localhost:9090/snippets/

Then publishing the `pv` viewer to npm would also make it listed on the BioJS registry (with the snippets).