0.2.2 • Published 1 year ago

zilker v0.2.2

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

zilker

CLI and build system for zilk projects


Note: zilker is actively being built out. It's functional for static websites, but most planned features are still in development.


Overview

  • File-based: Intuitive project organization
  • Powered by Bun: Fast by default
  • Plugin-friendly: Custom dev experience and build settings

API

CLI

zilker init

Scaffold project from scratch

zilker build

Build project based on settings in zilker.js

zilker dev

Build project, watch files for changes, and run a local webserver based on settings in zilker.js

zilker.js

Example config

import { Pages, Views, Assets } from 'zilker/files'

export let localhost = {
  port: 3000,
  hostname: 'local',
}

export let folders = {
  pages: Pages({
    _document: 'pages/_document.js',
    debug: true,
    output: {
      static_pages: true,
      sitemap: 'public/sitemap.xml',
      sync_router: true
    }
  }),
  views: Views({
    output: {
      global_css: './public/~z/styles.css',
      global_hydration: true
    }
  }),
  assets: Assets()
}
0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago

0.0.2

1 year ago

0.0.0

1 year ago