1.5.0 • Published 8 years ago

labking v1.5.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

LabKing :crown:

Rule over your subjects in LabKey

Build Status Coverage Status

Building the project

The build process does a few things:

  1. Compiles your ES6 JavaScript into a single ES5-compatible file in the web resources directory (this is what you reference in your HTML).
  2. Copies your HTML over into the target.
  3. Generates a module.xml file for LabKey.
  4. Generates WebParts and View XML files based on the webParts and webViews attributes in package.json.
  • npm build builds the module
  • npm test runs the test suite
  • npm watch watches for changes and builds each time

These are really just wrappers for Gulp (gulp, gulp test, and gulp watch respectively).

Creating Web Parts

  1. Create a WebPart definition in package.json, e.g. for sample.html:

        "webParts": [
            { "name": "WebPart Friendly Name",  "htmlFilePrefix": "sample" }
        ]
  2. Create views/sample.html:

    <div>
    <h1>Hello World!</h1>
    </div>

Browser requirements

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:.

License

This project is MIT licensed.

Contributing

We'd love to get your feedback, pull requests and contributions. There are some notes on contributing.

1.5.0

8 years ago

1.4.0

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.0.0

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago