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

Color output in --before-script

ai opened this issue · comments

When I run npx clean-publish --before-script ./node_modules/.bin/dual-publish my script can’t print with color, chalk do not see color support.

Seems like you need to replace exec to spawn(cmd, { std: 'inherit' })