Skip to content

alan0x/ts-lib-starter

Repository files navigation

ts lib starter

code style: prettier Commitizen friendly PRs Welcome

A library starter template use Typescript and Rollup, inspired by The best Rollup config for TypeScript libraries

Feature

  • Bundle by Rollup, use Esbuild as TS compilers and minifier rollup-plugin-esbuild
  • Automaticlly .d.ts definition files by dts plugin rollup-plugin-dts
  • Example page powered by Vite, out of box
  • use PNPM as package manager
  • Use Jest as test framefork
  • Commitizen friendly

Usage

  1. install
pnpm dlx degit --force https://github.com/FPG-Alan/ts-lib-starter
  1. modify value of [name/main/module/typings] in package.json with your lib name

  2. modify value of dep in example's package.json

About

Project template for typescript library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors