@kibibit/dev-tools
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@kibibit/dev-tools

Build Tests All Contributors

Scripts to make development easier


Usage

Install globally

npm install --global @kibibit/dev-tools

or locally

npm install --save-dev @kibibit/dev-tools

Then, go into a git project folder and run

kb-prune-merged

to prune local branches that merged and deleted on cloud

Or use this command in your git hooks to prevent accidental commits to protected branches:

kb-disallow-master-commits

for example, husky

package.json

/* ... */
"scripts": {
  "disallow-master-commits": "kb-disallow-master-commits"
}

Then, add it as a pre-commit git hook:

npx husky add .husky/pre-commit "npm run disallow-master-commits"
git add .husky/pre-commit

Contributors

Thanks goes to these wonderful people (emoji key):


Neil Kalman

💻 📖 🎨 🚧 🚇 ⚠️

This project follows the all-contributors specification. Contributions of any kind are welcome!

Logo made by Freepik from www.flaticon.com

Stay in touch

Readme

Keywords

Package Sidebar

Install

npm i @kibibit/dev-tools

Weekly Downloads

3,658

Version

1.1.1

License

MIT

Unpacked Size

102 kB

Total Files

24

Last publish

Collaborators

  • thatkookooguy
  • zimgil
  • k1b1b0t