{"_id":"@boilertowns/node-cli-boilerplate","name":"@boilertowns/node-cli-boilerplate","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@boilertowns/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.0.1","commander":"^9.3.0","figlet":"^1.5.2","ora":"^6.1.2"},"devDependencies":{"@changesets/cli":"^2.24.1","@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@trivago/prettier-plugin-sort-imports":"^3.2.0","@types/figlet":"^1.5.4","@types/node":"^18.0.3","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","eslint":"^8.19.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","lint-staged":"^13.0.3","prettier":"^2.7.1","tsup":"^6.1.3","type-fest":"^2.16.0","typescript":"^4.7.4"},"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\"","format":"prettier --write \"**/*.{ts,md,json}\"","changeset":"changeset","release":"changeset publish"},"_id":"@boilertowns/node-cli-boilerplate@0.0.0","_integrity":"sha512-NHztBubtoj6GNoMTkSBZlCQZj2zEE7/qZAsEaHBCgGWhVraxRiflssmvjGLtTLu/kRGCs3UFJBlT1v7zMjCpVQ==","_resolved":"/tmp/72b5305ac53645fe267531a2eefea66b/boilertowns-node-cli-boilerplate-0.0.0.tgz","_from":"file:boilertowns-node-cli-boilerplate-0.0.0.tgz","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-NHztBubtoj6GNoMTkSBZlCQZj2zEE7/qZAsEaHBCgGWhVraxRiflssmvjGLtTLu/kRGCs3UFJBlT1v7zMjCpVQ==","shasum":"4c20a27803b5875e103e9dee664e22378fac501f","tarball":"https://registry.npmjs.org/@boilertowns/node-cli-boilerplate/-/node-cli-boilerplate-0.0.0.tgz","fileCount":5,"unpackedSize":6743,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgcv4UazzG4q0PfDxEK3IiyUMkgH2lRVJlqv9zJ6z3lAiB66Ryyc4l4Eaz4ba7fCSn2xIuUNVuTC8Gzq60ga6yojw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+0nBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpF+g/9GuRLRlR0fL+ijfauCg5cF5O7aQfVdOh4LLYwyX94oCJCEoXT\r\nsct899ATv9ZsTl/Pw1Tw48Mnja+Bf7/v9pTgxCRXLL+a08D2Rmn+DdsPhQwM\r\nq0hMfBCy9YhvdAcMYAzRkrC2cu1rekHCgyDWRYH30f5MZYovQR0BPdciBYED\r\ncFw9cX3mFWt/mridRlW8uczJv22T2x5Nnf87vzA11b7O57lfcof9YeNmeh9G\r\nCBrK4FOU8jjRbQu9/KmpSDUWP33cqywMEXJmp/N/1wv3+ezAlq5W5ylgulOX\r\nyJs9Yh13vHTNFFEleOhCHzzbF9jIo/82P/OWMBN7Ac/34+TzGOvKr+e8VbfN\r\nz1II9clGtm04ETln2fXZxxqvKG5g281gMj2cUxobOrI/XuigWNK62Ots0ylX\r\nhHLXAin337hPtVr44b0eIjcrOrZE0tiBgqD9sq/APaop+l9HJH/tLSPy/Za7\r\n8QewLxVN/qbHk+D+7KvTs4oRvjVv2tG1jUlwcD1jMHX5/M8sxznQuqCLKA8l\r\nKSfPK6XQtz11KylcEitcT3GMpvvdrHlx+1qszF6AIq5d/cmaBpeQMViY5QOZ\r\nOZHRlJXe4DncAyD+LbaWq4zcI+TPoS8l3LbqL/56RGv9s0gXyqlQiMvxXUNB\r\nmigWc8JswTmbabev+WBxvRvFPLNeeioBV2A=\r\n=RmZk\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_1660635585409_0.3492967198998862"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-16T07:39:45.323Z","0.0.0":"2022-08-16T07:39:45.594Z","modified":"2022-08-16T07:39:45.780Z"},"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/boilertowns/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- Automated release with [changesets][changesets-url]\n\n## Get Started\n\n- Use [Boilertowns](https://github.com/boilertowns/create-boilertowns) CLI.\n\n  ```sh\n  # npm\n  npm create boilertowns@latest -- -b node-cli-boilerplate\n\n  # yarn\n  yarn create boilertowns -b node-cli-boilerplate\n\n  # pnpm\n  pnpm create boilertowns -b node-cli-boilerplate\n\n  # bun\n  bun create boilertowns/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[boilertowns-url]: https://github.com/boilertowns\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","readmeFilename":"README.md"}