This package has been deprecated

Author message:

deprecated package

mgnl-custom

1.0.0 • Public • Published

Build Status

mgnl-custom

Small demo module built with webpack.

Setup

After installation, add this to your page template:

[#-- mount compiled JS bundle --]
${resfn.js(["/mgnl-custom/webresources/js/bundle.js"])!}

<script>
  var c = new Calendar('.furbie')
  c.render()
</script>

Tests

Fixture Setup

Fixture was exported from Magnolia using the "Export"-functionality of the UI

JS Unit Tests

Unit tests are using Jest as test runner, as it supplies a DOM environment

Template / Integration tests

Tests are super simple and based cheerio. Mocha is used as test runner

Travis

Main test step in Travis executes npm test

Setting up the Magnolia server is done with the before_script hook.

Package Sidebar

Install

npm i mgnl-custom

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • robertkowalski