chore-cli

0.2.3 • Public • Published
 ╭━━━╮╭╮╱╭╮╭━━━╮╭━━━╮╭━━━╮╱╱╱╱╭━━━╮╭╮╱╱╱╭━━╮
 ┃╭━╮┃┃┃╱┃┃┃╭━╮┃┃╭━╮┃┃╭━━╯╱╱╱╱┃╭━╮┃┃┃╱╱╱╰┫┣╯
┃┃╱╰╯┃╰━╯┃┃┃╱┃┃┃╰━╯┃┃╰━━╮╱╱╱╱┃┃╱╰╯┃┃╱╱╱╱┃┃
┃┃╱╭╮┃╭━╮┃┃┃╱┃┃┃╭╮╭╯┃╭━━╯╭━━╮┃┃╱╭╮┃┃╱╭╮╱┃┃
 ┃╰━╯┃┃┃╱┃┃┃╰━╯┃┃┃┃╰╮┃╰━━╮╰━━╯┃╰━╯┃┃╰━╯┃╭┫┣╮
 ╰━━━╯╰╯╱╰╯╰━━━╯╰╯╰━╯╰━━━╯╱╱╱╱╰━━━╯╰━━━╯╰━━╯

npm version dependencies status Documentation License: MIT

chore-cli is the super assistant for building a typescript library. It can generate development infrastructure for projects or libraries, such as prettier, eslint, husky etc, or even Github Actions Config files. It can save a lot of time every time you create new stuff.

As we know, These tools like eslint, prettier can make the codebase better. But it takes us a lot of time to configure them. If you don't want your enthusiasm for writing code to be consumed by these configurations, and if you don't like doing these annoying "chores" frequently, try chore-cli.

chore cli 是构建 typescript 应用的超级助手。它可以为项目或库生成开发基础设施,如 prettier、eslint、husky 等,甚至是 Github Actions 配置文件。它可以在你每次创造新东西的时候,节省很多时间。

众所周知,像 eslint 和 prettier 这样的工具可以使代码库变得更好。但是我们要花很多时间来配置它们。如果你不想让你写代码的热情被这些配置消耗掉,如果你不喜欢频繁地做这些烦人的“杂务”,那就试试 chore-cli 。

chore-cli

🚀 Usage

Using chore-cli is super easy.

npx chore-cli <path-to-project>

You can also add chore-cli as a global dependency.

pnpm add chore-cli -g
# or
yarn global add chore-cli
# or
npm install chore-cli -g

And run

chore <path-to-project>

Features

  • [x] TypeScript
  • [x] Editorconfig
  • [x] Eslint (@typescript/eslint)
  • [x] Prettier
  • [x] Babel
  • [x] Jest
  • [x] TypeDoc
  • [x] Commit message lint
  • [x] Lint staged
  • [x] Github actions for CI/CD
  • [x] React (optional)
  • [x] Esbuild (optional)
  • [x] webpack (optional)
  • [x] Rollup (optional)
  • [x] Snowpack (optional)

Todo

  • [ ] Changelog
  • [ ] Styles, such as style lint, Tailwind css
  • [ ] Parcel

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you! And let me know if you find any bugs, or you have any idea for improving it.

📝 License

Copyright © 2021 iwfan.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Readme

Keywords

Package Sidebar

Install

npm i chore-cli

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

124 kB

Total Files

85

Last publish

Collaborators

  • iwfan