Skip to content
This repository was archived by the owner on Jun 13, 2026. It is now read-only.

Temme build

Oussama Essamadi edited this page Jun 13, 2026 · 3 revisions

Build

Building Temme locally is straightforward. Run:

pnpm prod

That command will:

  • remove previous build artifacts from dist and build
  • build the distributable package with tsup
  • generate the browser-ready documentation bundle at docs/assets/js/lib/temme.js

Available scripts

Command Description
pnpm clean Deletes the dist and build folders.
pnpm build Builds the package outputs into dist using tsup.
pnpm dev Runs tsup in watch mode for development.
pnpm build:docs Builds the browser bundle used by the docs website.
pnpm prod Runs clean, build, and build:docs.
pnpm test Runs the unit test suite.
pnpm typecheck Runs TypeScript type checking without emitting files.
pnpm lint Runs the linter.
pnpm lint:fix Runs the linter and applies automatic fixes where possible.

Summary

Temme gives you a declarative, object-based way to generate HTML with JavaScript.

Clone this wiki locally