Skip to content

jkcfg/module-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NPM module template

This repository contains a jk script that generate build files for NPM modules.

Module definition

A module is defined as a YAML document:

module:
  name: grafana
  description: Write grafana dashboards with TypeScript
  version: 0.1.0

Build generation

To generate build files from the top level module definition, run:

jk generate -f grafana.yaml /path/to/module-template/module.js

Where grafana.yaml holds the template definition.

Releases

No releases published

Packages

No packages published