Skip to content

BioJS sections in the package.json

Seb edited this page Feb 2, 2015 · 14 revisions

BioJS

  • logo: alternative project logo (default: github avatar)
  • registryHeight: height of the registry iFrame for your first example (default: 400)
  • publication: PMID (Pubmed Id) to the most recent citation (can also be an array)
"biojs": {
  "logo": "",
  "registryHeight": "400",
}

Specify css files for browserify (behaves like main for js)

style: "main.css"
"galaxy": {
  "datatypes": []
}
  • name
  • version
  • description
  • keywords (use "biojs")
  • homepage
  • license
  • contributors
  • main
  • repository

Optional

  • author
  • bugs
  • bin
  • scripts
  • dependencies
  • devDependencies

Contributors

[{ "name" : "Barney Rubble"
, "email" : "b@rubble.com"
, "url" : "http://barnyrubble.tumblr.com/"
},{ "name" : "Barney Rubble 2"
, "email" : "b2@rubble.com"
, "url" : "http://barnyrubble2.tumblr.com/"
}]
 "sniper": {
    "js": ["/build/msa.js"],
    "css": ["/css/msa.css"],
    "snippets": ["examples"],
    "first": "msa_show_menu"
  }

optional attributes:

  • buildCSS (will replace css)
  • buildJS (will replace js)

The build attributes can be used to specify alternative locations - in any case the registry will ignore js resources starting with build.

-> learn more