Installation
npm install entrify-cli --global
or
yarn add entrify-cli --global
Usage
CLI tool to convert package.json to index.js.
Usage
$ entrify <directory>
Options
--format, -f Format of the index.js to create.
Valid values: "cjs" or "esm".
Defautl: "cjs".
Examples
$ entrify ./src --format cjs
Development
Publish
- Bump package version:
yarn version --new-version x.x.x -m 'Version %s.'
. - Publish to NPM registry:
npm publish
. - Push new tag:
git push origin --tags
.
Made with ❤️ by Rubens Mariuzzo.