npm-template-with-tsup-ian
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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.

https://tsup.egoist.dev/

how to use this

  1. install dependencies
# pnpm
$ pnpm install

# yarn
$ yarn

# npm
$ npm install
  1. add your code to src
  2. add export statement to src/index.ts
  3. test build command to build src. once the command works properly, you will see dist folder.
# pnpm
$ pnpm run build

# yarn
$ yarn build

# npm
$ npm run build
  1. publish your package
$ npm publish

test package

https://www.npmjs.com/package/npm-template-with-tsup

Package Sidebar

Install

npm i npm-template-with-tsup-ian

Weekly Downloads

0

Version

0.0.5

License

ISC

Unpacked Size

7.26 kB

Total Files

17

Last publish

Collaborators

  • iandjx