A simple, git cloneble, starter template for creating a TypeScript library with vite.
Simply clone this reposotory into your project:
git clone https://github.com/danielFHcode/ts-library-template.gitThen change the package name in the package.json file:
"name": "your-lib-name",Run npm install to install the dev dependecies:
npm installNow you can start working on your library in the src directory, and run dev to start a development build:
npm run devWhen you're done, run build to build the project:
npm run build(and don't forget to delete this file from the finall project)