@weiran.zsd/prepub
A tool to help finding potential problems before publish, e.g. https://github.com/npm/rfcs/issues/390
Prerequisites: Node.js (>=12.22.0).
Install
$ npm i @weiran.zsd/prepub -D
Usage
{
"scripts": {"prepublishOnly": "prepub"}
}
License
MIT