@bizhermit/npm-package-utils
v0.0.0-rc.11
Published
npm package utils
Downloads
5
Readme
npm Package Utils
Install
npm i -D @bizhermit/npm-package-utils
Usage
generate or update src/package.json
from ./package.json
npx npm-package-utils init
generate index declaretion file.
target extension is .ts
and .tsx
.
npx npm-package-utils d.ts <options>
--ignore
ignore file or dir name.cli.ts
andnode_modules
, start width.
directories are absolutely ignored.--outDir
out dir name. default:./src
--outName
out file name. default:index.d.ts
--quiet
no console.
npx npm-package-utils d.ts --quiet --ignore hgoe.ts,fuga.ts --outDir ../package --outName custom.d.ts
copy files from ./src
into ./package
package.json
README.md
LICENSE
CREDIT
npx npm-package-utils pack