publish-preview

npm CLI to get a preview of files that will be publish

Usage no npm install needed!

<script type="module">
  import publishPreview from 'https://cdn.skypack.dev/publish-preview';
</script>

README

publish-preview

V0.2.1 MIT size Known Vulnerabilities Build Status

Node.js CLI to get a preview of properties and files that will be published on the NPM registry. Under the hood, the package run the following command:

npm pack --dry-run --json --loglevel=silent`

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm install publish-preview -g
# or
$ npx publish-preview

Usage example

When installed globally the pubview executable will be exposed in your terminal

$ cd yourProject
$ pubview

License

MIT