Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@keyrock-dev/jotun

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keyrock-dev/jotun

Jotun Builder and Client Lib

latest
Source
npmnpm
Version
23.7.1
Version published
Weekly downloads
11
-65.62%
Maintainers
1
Weekly downloads
 
Created
Source

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 up

To iterate on the Builder itself (Node.js):

docker exec -it jotun_tools_1 /bin/bash
./build-client
./build-example

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

Keywords

javascript

FAQs

Package last updated on 14 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts