Script to remove unnecessary properties from package.json on prepublish hook
-
Updated
Sep 30, 2022 - TypeScript
Script to remove unnecessary properties from package.json on prepublish hook
The CLI utility "npm-previewpkg" generates an overview of the files and directories, which would be part of an npm package when published: a package content preview.
Clean package.json before publishing your package by removing unnecessary properties.
Add a description, image, and links to the prepublish topic page so that developers can more easily learn about it.
To associate your repository with the prepublish topic, visit your repo's landing page and select "manage topics."