A typescript template with vite
$ pnpm create un
# or
$ pnpm create un [my-project] -t ts-starter-vite
Init git hook(optional)
$ pnpm git-hook-init
Run src/index.ts
$ pnpm start
$ pnpm test
Build your lib through vite
$ pnpm build
Publish your library to npm:
$ pnpm release
$ npm publish
Bundling with vite
, browser friendly.