@keyrock-dev/jotun
v23.7.1
Published
Jotun Builder and Client Lib
Maintainers
Readme
jotun ("yoh-tun")
Web Content Pre-Processor
Why?
Cornerstone JS Framework needs html templates (Handlebars/Jinja) compiled into js. Might as well handle mjs and SCSS at the same time.
Jotun allows packages (js, css, html, and assets) to be included in other projects, to simplify distribution of web component libraries.
Development
Build-and-run the docker-compose file. No need to install npm locally (or install package dependencies) for development.
cd .docker
docker-compose build
docker-compose upTo iterate on the Builder itself (Node.js):
docker exec -it jotun_tools_1 /bin/bash
./build-client
./build-exampleTo iterate on the Example content:
browse to: http://localhost
Deploying Updates
To publish the latest package to NPM:
- Increment the version number in package.json.
- Commit and push to main.
