shashkovdanil / clean-publish

Removing configuration files and fields in package.json before publishing to npm

Home Page:https://www.npmjs.com/package/clean-publish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage with `np`

yumauri opened this issue · comments

I want to use this tool alongside with np, is it possible?
https://github.com/sindresorhus/np

And if answer is yes, then how?

np supports argument --contents to specify folder to publish, but clean-publish creates temporary folder with a new name each time

I’m also interested in this.

Maybe --without-publish could return name of the temporary directory which could be used with np --contents?

Or add option for specifying temporary directory name?

Maybe --without-publish could return name of the temporary directory which could be used with np --contents?

Cool idea. Please send PR.

OK, will try! Do you think it makes sense to also add option for directory name instead of temporary?

Yeap. We can add this feature too.