How to publish typescript package to npm registry
- Open template: https://github.com/romankurnovskii/npm-typescript-package-template
- Click
Use this template - Create repo from this template.
- git clone new repo
- update code
src/index.ts,src/bin.ts
How to check if bin script works from terminal:
npm link && npm link mypackage
mypackagePublish:
npm run prepublishOnly
npm publishPublished Mar 7, 2023 | Updated May 15, 2023
Be the first to comment.