chore(package.json): add commitizen

This commit is contained in:
Chika 2021-04-26 22:27:08 +03:00
parent 1e99f902ad
commit 82c428101d

View File

@ -40,7 +40,9 @@
"@types/react-dom": "^17.0.3",
"@types/react-router-dom": "^5.1.7",
"@types/rebass": "^4.0.8",
"@types/styled-components": "^5.1.9"
"@types/styled-components": "^5.1.9",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0"
},
"scripts": {
"test": "craco test",
@ -48,7 +50,8 @@
"start": "craco start",
"build": "craco build",
"eslint": "eslint ./src",
"eslint:fix": "eslint ./src --fix"
"eslint:fix": "eslint ./src --fix",
"commit": "git-cz"
},
"eslintConfig": {
"extends": "react-app"
@ -64,5 +67,10 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}