@taqtile/publish-package-json
v0.7.1
Published
Commnad line utility to clean and copy package.json for publishing version
Downloads
222
Readme
publish-package-json
Command line utility to clean and copy package.json for publishing a npm package.
Basic usage
Add a npm-script shortcut:
{
"scripts": {
"clean-to-publish": "clean-to-publish"
}
}
And use it
yarn run clean-to-publish
# or
npm run clean-to-publish
If you've installed globally, invoke directly from command line:
clean-to-publish
clean-to-publish
command will read your package.json and add a modified version of it in the dist directory ommiting scripts
, devDependencies
, jest
.