{"_id":"@boilertown/node-cli-boilerplate","name":"@boilertown/node-cli-boilerplate","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@boilertown/node-cli-boilerplate","version":"0.0.0","description":"Your Node.js CLI app","type":"module","bin":{"node-cli-boilerplate":"dist/index.js"},"engines":{"node":">=14.16"},"dependencies":{"chalk":"^5.2.0","commander":"^9.5.0","figlet":"^1.5.2","ora":"^6.1.2"},"devDependencies":{"@changesets/cli":"^2.26.0","@commitlint/cli":"^17.4.1","@commitlint/config-conventional":"^17.4.0","@trivago/prettier-plugin-sort-imports":"^4.0.0","@types/figlet":"^1.5.5","@types/node":"^18.11.18","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","eslint":"^8.31.0","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.3","lint-staged":"^13.1.0","prettier":"^2.8.2","tsup":"^6.5.0","type-fest":"^3.5.1","typescript":"^4.9.4","vitest":"^0.27.1"},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix","prettier --write"],"*.{md,mdx,yml,json}":["prettier --write"]},"scripts":{"build":"tsup src/index.ts --format esm --clean --minify --metafile","dev":"tsup src/index.ts --format esm --watch --clean --onSuccess \"node dist/index.js\"","test":"vitest","changeset":"changeset","release":"changeset publish"},"_id":"@boilertown/node-cli-boilerplate@0.0.0","_integrity":"sha512-0kqVXAV4NhxNtA1ymEVkJXOKn162KbeaAj7fZk8yBBDNGMjJXGt53mcJYt15DzXws018M3zsnDP+X1kvdEN+ow==","_resolved":"/tmp/064df0a8f5d9262be97345843dfe639e/boilertown-node-cli-boilerplate-0.0.0.tgz","_from":"file:boilertown-node-cli-boilerplate-0.0.0.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0kqVXAV4NhxNtA1ymEVkJXOKn162KbeaAj7fZk8yBBDNGMjJXGt53mcJYt15DzXws018M3zsnDP+X1kvdEN+ow==","shasum":"2da53b71c4ff3eb688aeae6c1136967bb283912a","tarball":"https://registry.npmjs.org/@boilertown/node-cli-boilerplate/-/node-cli-boilerplate-0.0.0.tgz","fileCount":5,"unpackedSize":6793,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1qhIzvwSmIcYLFr25UIM0WqPKHEt9I/Ox01fzgfl1tAiASQDG8ISeXBtEkIO6MxeUTfrZyT+bQc+TUgdFmrk54AA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv69ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYdQ/+OcxH23o5pqRlPYcXwMVZUaDcJTEBL0OtTC6xXMjhgH+gekrb\r\npy5Jevx5SK/8Q7PqC49QPfQ07nfp894WpnOMSu59oCEWAghAayqVbid4o5SD\r\n/uvaoHaZgIE58Y0Z0hSYMggJdKubRewxxHwQHbm8I0KkyHhL7H87Y42bPJLa\r\n7uOOAT78cd7aLolIacU1WzU7V1WKuRN/JvRTbSn3TKeUDz+XPGy30pWpGlVv\r\nKYrLaYEzbZj+/1j/ZZ8LdWUYJgyZBGNVMIeB28pyGzUHiLBmPaAiOcYs2OUS\r\netIG3fm0l+yYMVkpnQCcZAQVFjN8NEspCi4KiJk+AZtQfhmiw2c+bIBY9OIT\r\n/gmMkrJyQoRYpUdN4o2rYHkU0BkHenZMzJPhrzlC6o/z1waXItKcKsWibdFk\r\nob2TyUBuVqxYE9+USW2pt9fmtvt+yLhbD/6b6dw2EuiA5p0hpP9x0GXvYdC3\r\nvgmQguU38Kf/UpdEI6rJ9NyBmOn+0QjopExnDzvR6/OeFd51VL8TW3f2RUZ+\r\nbZItRJrKxQUjo8b4E7Y7KucVlFm1ysGZgvSbxjKajjeGfe8hdY9soJe1y2IK\r\ny8JvAnqG7Mqew6+x/DjAfJYyz5fdiRke3pUtbgAqW2AcVSeWYhUPeHK80rzK\r\n2e3qlaqkWA9GilreWahjP1XXpBH77k6DhoQ=\r\n=xLPB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"phammikun","email":"mikun1993@gmail.com"},"directories":{},"maintainers":[{"name":"phammikun","email":"mikun1993@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-cli-boilerplate_0.0.0_1673506648974_0.3753083262933412"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-12T06:57:28.891Z","0.0.0":"2023-01-12T06:57:29.204Z","modified":"2023-01-12T06:57:29.369Z"},"maintainers":[{"name":"phammikun","email":"mikun1993@gmail.com"}],"description":"Your Node.js CLI app","readme":"<h1 align=\"center\">♨️ Node CLI Boilerplate</h1>\n\n<div align=\"center\">\n  <p>\n    A Node.js boilerplate with opinionated setup to help you kickstart your own CLI.\n  </p>\n  <img src=\"https://img.shields.io/github/license/boilertown/node-cli-boilerplate?style=flat-square\" alt=\"MIT license\" >\n</div>\n\n## The Setup\n\n- [TypeScript][typescript-url]\n- Linting with [Eslint][eslint-url] and code formatting with [Prettier][prettier-url]\n- Conventional commit messages with [Commitlint][commitlint-url]\n- Build with [tsup][tsup-url]\n- [Vitest][vitest-url] for Unit test\n- Automated release with [changesets][changesets-url]\n\n## Get Started\n\n- Use [Boilertown](https://github.com/boilertown/create-boilertown) CLI.\n\n  ```sh\n  # npm\n  npm create boilertown@latest -- -b node-cli-boilerplate\n\n  # yarn\n  yarn create boilertown -b node-cli-boilerplate\n\n  # pnpm\n  pnpm create boilertown -b node-cli-boilerplate\n\n  # bun\n  bun create boilertown/node-cli-boilerplate [cli-name]\n  ```\n\n- Click the green \"Use this template\" button to generate a new repository with the same structure and files.\n\n  <img src=\"https://docs.github.com/assets/cb-36544/images/help/repository/use-this-template-button.png\" alt=\"Use this template button\" width=\"500\">\n\n  [Ref: Github Docs](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)\n\n## Development\n\n- Run the app in development mode:\n\n  ```sh\n  pnpm dev\n  ```\n\n- Build the app:\n\n  ```sh\n  pnpm build\n  ```\n\n- Create changeset:\n\n  ```sh\n  pnpm changeset\n  ```\n\n## Release & Publish app\n\nThis boilerplate uses [changesets][changesets-url] to automatically generate `CHANGELOG`, create releases and publish to NPM registry via GitHub Actions. You can see action details at [release.yml](/.github/workflows//release.yml).\n\nTo automating publish your app, follow these steps:\n\n- Create a `NPM_TOKEN`. [See this article for more details](https://docs.npmjs.com/creating-and-viewing-access-tokens). Make sure the type of access token is **Automation**.\n\n- [Follow this instruction](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) to add the created token to your GitHub Actions secrets. Name of the secret is `NPM_TOKEN`.\n\n- Install [changeset bot](https://github.com/apps/changeset-bot).\n\n- [Adding changeset and commit](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md#i-am-in-a-single-package-repository).\n\n**P/S**: Remember to check the `Allow GitHub Actions to create and approve pull requests` in your repo Settings > Actions > General & scroll to Workflow permissions.\n\n## Contributing\n\n**node-cli-boilerplate** ❤️ your contributions. If you have any ideas, suggestions, fixes, feel free to contribute.\n\n[boilertown-url]: https://github.com/boilertown\n[typescript-url]: https://www.typescriptlang.org\n[eslint-url]: https://eslint.org\n[commitlint-url]: https://github.com/conventional-changelog/commitlint\n[prettier-url]: https://prettier.io\n[changesets-url]: https://github.com/changesets/changesets\n[tsup-url]: https://tsup.egoist.sh\n[vitest-url]: https://vitest.dev\n","readmeFilename":"README.md"}