Skip to content

ragrag/moshimosh

Repository files navigation

anya-forger

About

moshimosh ≽^•༚•🎀≼ (moshi-mosh) is a hybrid (esm/cjs) TypeScript Node package creator, with modern tooling, typedef docs generation and sensible defaults that just works

Usage

npx moshimosh

Whats included

  • Hybrid ESM/CJS by tshy that just works
  • Test and Coverage with vitest
  • Linting/Formatting with Biome
  • Linting/Formatting Git Pre-commit hooks with lefthook
  • Documentation generation from typedefs with typedoc
  • Github action for building and testing
  • Github action for updating docs in a GitHub Pages github.io repo

Included npm scripts

  • prepare - builds the package to dist emitting both ESM and CJS entrypoints
  • test - runs tests and generates coverage reports
  • docs:gen - generates documentation from built typescript .d.ts files
  • lint - lints and formats files with Biome
  • lint:ci - runs lint and formatting checks without auto-fixing (for ci)
  • githooks:install - sets up linting and formatting pre-commit githooks with lefthook (run only once)