ts-lib-starter

A simplest starter template for typescript lib

MIT License

Stars
2

Awesome Starter

Why do you use this template

If you’re looking to transpile your TypeScript code into ESM code for your codebase, you can use the starter template to initialize your project.

This will help you get started quickly and easily with your project by providing you with a pre-configured environment that includes all the necessary tools and dependencies for building and running your TypeScript code as ESM modules. Additionally, the starter template provides you with a set of best practices and guidelines for structuring your codebase in a way that’s easy to maintain and scale as your project grows.

Because moduleResolution needs to be nodenext, relative import paths require explicit file extensions in EcmaScript imports

What is the key web framework for this template

Start Up

Please use degit to download template

mkdir your-project-name
cd your-project-name
npx degit brandonxiang/ts-lib-starter

# or

npx degit brandonxiang/ts-lib-starter your-project-name

How to Develop

pnpm i
pnpm run dev

# http://localhost:3000/

How to Build

# live
pnpm run build
Related Projects