Skip to content

Commit 5ef7951

Browse files
committed
chore: make repo commitizen friendly by adding cz config
1 parent ead8100 commit 5ef7951

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
2+
13
# babel-plugin-transform-react-router-optimize
24

35
The [React Router][0] library exposes all methods on the top level import, but

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"name": "Bjoern Brauer",
1515
"email": "zaubernerd@nerdlabs.it"
1616
},
17+
"config": {
18+
"commitizen": {
19+
"path": "cz-conventional-changelog-lint"
20+
}
21+
},
1722
"repository": {
1823
"type": "git",
1924
"url": "git+https://github.com/nerdlabs/babel-plugin-transform-react-router-optimize.git"
@@ -34,6 +39,9 @@
3439
"babel-cli": "^6.10.1",
3540
"babel-core": "^6.9.1",
3641
"babel-preset-es2015": "^6.9.0",
37-
"conventional-changelog-cli": "^1.2.0"
42+
"cz-conventional-changelog-lint": "^0.1.3"
43+
},
44+
"peerDependencies": {
45+
"react-router": ">=2.0.0"
3846
}
3947
}

0 commit comments

Comments
 (0)