Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
feat: 🎸 add binary git-cz command for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jun 4, 2018
1 parent ea20619 commit 3d11bdd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
4 changes: 4 additions & 0 deletions bin/git-cz.js
@@ -0,0 +1,4 @@
#!/usr/bin/env node

// eslint-disable-next-line import/no-unassigned-import, filenames/match-regex
require('../lib/cli');
17 changes: 3 additions & 14 deletions package.json
Expand Up @@ -4,7 +4,8 @@
"description": "Semantic emojified git commit",
"main": "lib/index.js",
"bin": {
"ci": "./bin/git-cz.js"
"git-cz": "./bin/git-cz.js",
"gitcz": "./bin/git-cz.js"
},
"repository": {
"type": "git",
Expand All @@ -28,19 +29,7 @@
},
"config": {
"commitizen": {
"path": "./index.js",
"changelog": {
"maxMessageLength": 72,
"list": [
"feat",
"fix",
"chore",
"docs",
"refactor",
"style",
"ci"
]
}
"path": "./index.js"
}
}
}

0 comments on commit 3d11bdd

Please sign in to comment.