My personal TypeScript init kit.
npm install @sigbt/tskit@sigbt/tskit is @sigismundbt’s personal TypeScript scaffolding tool,
used to quickly bootstrap new TypeScript projects with consistent structure and configuration.
It uses pnpm exclusively and runs pnpm init automatically.
---
``bash`
npx @sigbt/tskit
tskit will automatically initialize a new project,
then guide you through an interactive setup process.
---
| Type | Description |
| ------------ | ----------------------------------------------------------------------------- |
| Library | Pure TypeScript package ready for npm publishing. |
| CLI Tool | Command-line scaffold with Yargs, Clack, or Hybrid interface. |
| Backend | Node backend scaffold with optional database (Mongoose, Prisma, or none). |
---
- Creates directories: src/, dist/.prettierrc
- Adds configs:
- tsconfig.json
- vitest.config.ts
- .gitignore
- .npmignore
- mostir.config.mjs
- package.json
- Injects default scriptstypescript
- Installs dev dependencies:
- vitest
- prettier
- bumpp
- mostir
-
---
- Generates src/cli/bin.ts#!/usr/bin/env node
- Adds:
- shebangchmod 755
- executable permission ()bin
- proper entry in package.json
- Choose CLI type: Yargs, Clack, or Hybrid
---
Creates:
``
src/
controllers/
middleware/
routes/
lib/
- Optional integrations: Mongoose or Prisma
- Adds error.middleware.ts.env
- Prepares and base scripts
---
- Minimal structure for npm publishing
- Auto-adds exports, types, and main fields
- Supports hybrid (CLI + library) layout
---
| Command | Description |
| ------------ | ----------------------- |
| pnpm dev | Run directly with tsx |pnpm build
| | Build via mostir |pnpm start
| | Run built output |pnpm test
| | Run tests with vitest` |
---
- Node.js ≥ 18
- pnpm installed globally
---
This package is primarily for personal use.
Public use is allowed, but updates are made only when improvements are needed.