Skip to content

Commit ffeac49

Browse files
committed
chore: add commitizen
1 parent 937def9 commit ffeac49

File tree

3 files changed

+418
-7
lines changed

3 files changed

+418
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
.DS_Store
12
node_modules
23
lib

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,16 @@
2424
],
2525
"scripts": {
2626
"build": "tsc --build tsconfig.json",
27+
"prepublishOnly": "yarn build",
2728
"lint": "yarn lint:es",
2829
"lint:es": "eslint --ignore-path \"./.eslintignore\" \"./**/*.{js,jsx,ts,tsx}\"",
2930
"test": "echo \"Error: no test specified\" && exit 1"
3031
},
32+
"config": {
33+
"commitizen": {
34+
"path": "./node_modules/cz-conventional-changelog"
35+
}
36+
},
3137
"dependencies": {
3238
"@babel/core": "^7.15.0",
3339
"@babel/eslint-parser": "^7.15.0",
@@ -51,6 +57,7 @@
5157
"stylelint-scss": "^3.20.1"
5258
},
5359
"devDependencies": {
60+
"cz-conventional-changelog": "3.3.0",
5461
"typescript": "^4.3.5"
5562
}
5663
}

0 commit comments

Comments
 (0)