Releasing a library written in TypeScript on NPM ⚡️

Why TypeScript?

The build process 🏗

Rollup 📦

typescript2 + terser

rollup.config.js
tsconfig.json

Utilities 🛠

rimraf + mkdirp

package.json

Publish 🗞

Thank you!

GitHub / Twitter @crisu83

Releasing a library written in TypeScript on NPM

By Christoffer Niska

Releasing a library written in TypeScript on NPM

  • 343