typescript-tsup-setup

Official

Standardize TypeScript builds with tsup.

Authorcromesdk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the setup and maintenance of tsup, a fast TypeScript bundler, ensuring consistent and production-ready builds for libraries and Node.js applications.

Core Features & Use Cases

  • Automated Installation: Installs tsup as a dev dependency.
  • Configuration: Creates or updates tsup.config.ts with sensible defaults for ESM/CJS outputs, declaration files (.d.ts), and watch scripts.
  • Package.json Alignment: Updates build scripts and ensures main, module, types, and exports fields in package.json correctly point to generated artifacts.
  • Verification: Runs the build process and confirms output artifacts and runtime resolution.
  • Use Case: When you need to set up a new TypeScript library or Node.js application, or when you want to ensure your existing project uses tsup with best practices for dual-format outputs and declaration generation.

Quick Start

Use the typescript-tsup-setup skill to install and configure tsup for this project, targeting a library build.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: typescript-tsup-setup
Download link: https://github.com/cromesdk/ai-skills/archive/main.zip#typescript-tsup-setup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.