Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57f5fbf

Browse files
committed
chore: add commitizen for better commit messages
1 parentef26448 commit57f5fbf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build:docs":"cd docs && npm run build",
1313
"precommit":"lint-staged",
1414
"prettier":"prettier --no-semi --single-quote --write\"{{platform,__test__}/**/*.js,samples/app/*.js}\"",
15-
"release":"node build/releaser.js"
15+
"release":"node build/releaser.js",
16+
"commit":"git-cz"
1617
},
1718
"repository": {
1819
"type":"git",
@@ -54,6 +55,8 @@
5455
"babel-jest":"^19.0.0",
5556
"babel-preset-env":"^1.6.1",
5657
"chalk":"^2.3.0",
58+
"commitizen":"^2.9.6",
59+
"cz-conventional-changelog":"^2.1.0",
5760
"husky":"^0.14.3",
5861
"inquirer":"^3.3.0",
5962
"jest":"^19.0.2",
@@ -94,5 +97,10 @@
9497
"git add"
9598
]
9699
}
100+
},
101+
"config": {
102+
"commitizen": {
103+
"path":"./node_modules/cz-conventional-changelog"
104+
}
97105
}
98106
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp