0.0.5 • Published 8 months 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 seedist
folder.
# pnpm
$ pnpm run build
# yarn
$ yarn build
# npm
$ npm run build
- publish your package
$ npm publish
test package
0.0.5
8 months ago