Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fraxken/publish-preview
Node.js CLI to get a preview of properties and files that will be published on the NPM registry
https://github.com/fraxken/publish-preview
Last synced: about 2 months ago
JSON representation
Node.js CLI to get a preview of properties and files that will be published on the NPM registry
- Host: GitHub
- URL: https://github.com/fraxken/publish-preview
- Owner: fraxken
- License: mit
- Created: 2018-12-19T20:07:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T23:00:34.000Z (2 months ago)
- Last Synced: 2024-10-09T10:06:04.557Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 288 KB
- Stars: 20
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# publish-preview
![V0.2.1](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/fraxken/publish-preview/master/package.json&query=$.version&label=Version)
![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)
![size](https://img.shields.io/bundlephobia/min/publish-preview)
[![Known Vulnerabilities](https://snyk.io/test/github/fraxken/publish-preview/badge.svg?targetFile=package.json)](https://snyk.io/test/github/fraxken/publish-preview?targetFile=package.json)
[![Build Status](https://travis-ci.com/fraxken/publish-preview.svg?branch=master)](https://travis-ci.com/fraxken/publish-preview)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](https://docs.npmjs.com/getting-started/what-is-npm) or [yarn](https://yarnpkg.com).```bash
$ npm install publish-preview -g
# or
$ npx publish-preview
```## Usage example
When installed globally the `pubview` executable will be exposed in your terminal```bash
$ cd yourProject
$ pubview
```## License
MIT