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

Parcelify

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

style: "main.css"

BioJS2Galaxy

"galaxy": {
  "datatypes": []
}

General

  • 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/"
}]

Snippets

 "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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.