This is a template package to publish npm package with typescript and tsup.
Bundle your TypeScript library with no config, powered by esbuild.
- install dependencies
# pnpm
$ pnpm install
# yarn
$ yarn
# npm
$ npm install
- add your code to
src - add export statement to
src/index.ts - test build command to build
src. once the command works properly, you will seedistfolder.
# pnpm
$ pnpm run build
# yarn
$ yarn build
# npm
$ npm run build- publish your package
$ npm publish