Rule over your subjects in LabKey
The build process does a few things:
module.xml
file for LabKey.webParts
and webViews
attributes in package.json
.npm build
builds the modulenpm test
runs the test suitenpm watch
watches for changes and builds each timeThese are really just wrappers for Gulp (gulp
, gulp test
, and gulp watch
respectively).
Create a WebPart definition in package.json
, e.g. for sample.html
:
"webParts": [
{ "name": "WebPart Friendly Name", "htmlFilePrefix": "sample" }
]
Create views/sample.html
:
<div>
<h1>Hello World!</h1>
</div>
LabKing is unapologetically built for the modern world. You'll need IE9+, or a reasonably up-to-date version of Chrome, Firefox, Opera, or similar to make the most of it. You may find it works on IE8, and we'd love to hear your experiences to flesh out the documentation. More than that, we'd love for you to upgrade to a modern browser for general happiness :cocktail: :beers: :wine_glass:.
This project is MIT licensed.
We'd love to get your feedback, pull requests and contributions. There are some notes on contributing.