Skip to content

Commit a5e4ca3

Browse files
committed
update package.json
1 parent 5b869f1 commit a5e4ca3

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,29 @@
1616
"prepush": "bash scripts/prepush.sh",
1717
"build-storybook": "build-storybook -c .storybook -o dist/docs/storybook",
1818
"semantic-release": "semantic-release",
19-
"commitmsg": "validate-commit-msg"
19+
"commitmsg": "commitlint -E GIT_PARAMS"
2020
},
2121
"release": {
2222
"pkgRoot": "dist"
2323
},
24-
"config": {
25-
"validate-commit-msg": {
26-
"types": [
27-
"feat",
28-
"fix",
29-
"docs",
30-
"style",
31-
"refactor",
32-
"perf",
33-
"test",
34-
"chore",
35-
"revert"
36-
],
37-
"warnOnFail": false,
38-
"maxSubjectLength": 100,
39-
"subjectPattern": ".+",
40-
"subjectPatternErrorMsg": "Subject does not match subject pattern!"
24+
"commitlint": {
25+
"types": [
26+
"feat",
27+
"fix",
28+
"docs",
29+
"style",
30+
"refactor",
31+
"perf",
32+
"test",
33+
"chore",
34+
"revert"
35+
],
36+
"warnOnFail": false,
37+
"maxSubjectLength": 100,
38+
"subjectPattern": ".+",
39+
"subjectPatternErrorMsg": "Subject does not match subject pattern!"
4140
},
41+
"config": {
4242
"commitizen": {
4343
"path": "./node_modules/cz-conventional-changelog-components"
4444
}
@@ -78,8 +78,8 @@
7878
"@angular/platform-browser-dynamic": "6.1.0",
7979
"@angular/platform-server": "6.1.0",
8080
"@angular/router": "6.1.0",
81-
"@commitlint/cli": "^7.0.0",
82-
"@commitlint/config-conventional": "^7.0.1",
81+
"@commitlint/cli": "7.0.0",
82+
"@commitlint/config-conventional": "7.0.1",
8383
"@compodoc/compodoc": "1.0.4",
8484
"@ngx-translate/core": "10.0.2",
8585
"@storybook/addon-actions": "3.4.8",
@@ -94,7 +94,7 @@
9494
"babel-core": "6.26.3",
9595
"carbon-components": "9.1.13",
9696
"codelyzer": "4.0.2",
97-
"commitizen": "^2.10.1",
97+
"commitizen": "2.10.1",
9898
"core-js": "2.5.5",
9999
"css-loader": "0.28.11",
100100
"d3": "4.12.0",

0 commit comments

Comments
 (0)