From 1b01c2d95aef89cbff0fd191db944dd892c087aa Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Fri, 10 Mar 2023 09:15:20 -0500 Subject: [PATCH] feat: add aic alias (#148) --- README.md | 2 ++ package.json | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4de3c25..05c4bc09 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ aicommits aicommits --dry-run ``` +> 👉 **Tip:** Use the `aic` alias if `aicommits` is too long for you. + ### Git hook You can also integrate _aicommits_ with Git via the [`prepare-commit-msg`](https://git-scm.com/docs/githooks#_prepare_commit_msg) hook. This lets you use Git like you normally would, and edit the commit message before committing. diff --git a/package.json b/package.json index 86a6bb39..a57c0ab0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,10 @@ "files": [ "dist" ], - "bin": "./dist/cli.mjs", + "bin": { + "aicommits": "./dist/cli.mjs", + "aic": "./dist/cli.mjs" + }, "scripts": { "prepare": "simple-git-hooks", "build": "pkgroll --minify",