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

Feature: Auto-run prepublish script

retyui opened this issue · comments

I think this tool has to run prepublishOnly or prepublish scripts from package.json after start clone some files

@shashkovdanil

'prepublishOnly',

prepublishOnly: Run BEFORE the package is prepared and packed, ONLY on npm publish. (See below.)

https://docs.npmjs.com/misc/scripts

prepublish can change only the current dir, which is not a case to remove development files