mirror of
https://github.com/AtHeartEngineering/bandada.git
synced 2026-01-08 03:53:59 -05:00
chore: add commitizen packages
This commit is contained in:
3
.commitlintrc.json
Normal file
3
.commitlintrc.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": ["@commitlint/config-conventional"]
|
||||
}
|
||||
@@ -4,7 +4,7 @@ root = true
|
||||
[*]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
|
||||
3
.lintstagedrc.json
Normal file
3
.lintstagedrc.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"**/*.{js,jsx,ts,tsx}": ["prettier --write", "eslint --fix"]
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"singleQuote": true
|
||||
"semi": false,
|
||||
"arrowParens": "always",
|
||||
"trailingComma": "none"
|
||||
}
|
||||
|
||||
14
package.json
14
package.json
@@ -5,7 +5,9 @@
|
||||
"scripts": {
|
||||
"start": "nx serve",
|
||||
"build": "nx build",
|
||||
"test": "nx test"
|
||||
"test": "nx test",
|
||||
"commit": "cz",
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
@@ -22,6 +24,8 @@
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.0.0",
|
||||
"@commitlint/config-conventional": "^17.0.0",
|
||||
"@nestjs/schematics": "^8.0.0",
|
||||
"@nestjs/testing": "^8.0.0",
|
||||
"@nrwl/cli": "14.1.8",
|
||||
@@ -43,7 +47,9 @@
|
||||
"@typescript-eslint/eslint-plugin": "~5.18.0",
|
||||
"@typescript-eslint/parser": "~5.18.0",
|
||||
"babel-jest": "27.5.1",
|
||||
"commitizen": "^4.2.4",
|
||||
"cypress": "^9.1.0",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"eslint": "~8.12.0",
|
||||
"eslint-config-prettier": "8.1.0",
|
||||
"eslint-plugin-cypress": "^2.10.3",
|
||||
@@ -52,11 +58,17 @@
|
||||
"eslint-plugin-react": "7.29.4",
|
||||
"eslint-plugin-react-hooks": "4.5.0",
|
||||
"jest": "27.5.1",
|
||||
"lint-staged": "^12.4.2",
|
||||
"nx": "14.1.8",
|
||||
"prettier": "^2.5.1",
|
||||
"react-test-renderer": "18.1.0",
|
||||
"ts-jest": "27.1.4",
|
||||
"ts-node": "9.1.1",
|
||||
"typescript": "~4.6.2"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user