0.0.5 • Published 2 years ago
npm-template-with-tsup-ian v0.0.5
npm-package-template-tsup
This is a template package to publish npm package with typescript and tsup.
tsup
Bundle your TypeScript library with no config, powered by esbuild.
how to use this
- 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 publishtest package
0.0.5
2 years ago