jsynowiec/node-typescript-boilerplate

Just a question: What should I do if I am publishing a project using this template to npm ?

yw662 opened this issue · 3 comments

yw662 commented

Like, Should I publish typescript source, or compiled js and dts, or both ? Should it build before publish or before install ? What should be added to npmignore ?

I fully support it, it would be cool if you could just install it globally via npm and use it like a cli.
Do you need help with this or could you do it yourself?

yw662 commented

So I can just npm publish without any further modification ?

It depends on your project and what you are publishing to the package registry. Please see https://docs.npmjs.com/creating-and-publishing-scoped-public-packages and https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html for details.