Skip to content

ayuhito/tsvite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsvite - WIP

A reasonable build tool for bootstrapping TypeScript libraries and CLIs. A modern TSDX replacement.

Setting up a brand new TypeScript library takes hours tinkering with all sorts of configurations and defaults that also has to exported as an ESM or CJS bundle. This project sets up developers with reasonable defaults with a few included DX improvements.


Features

  • Smooth developer experience using the Vite bundler that leverages the power of esbuild and Rollup.
  • Vitest unit-test framework for blazing fast tests (it's a very similar almost drop-in replacement to Jest).
  • Supports esm, cjs and umd builds, fully supporting tree-shaking.
  • Flexible starter configurations for TypeScript, Prettier, ESLint and more.
  • Templates to allow wide variations of tsvite starters.

Getting Started

npm install -g tsvite
npx tsvite create mylib
cd mylib
npm install # or another package manager of your choice yarn/pnpm

About

A zero-config CLI for bootstrapping TypeScript libraries and CLIs.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors