Skip to content

Commit 75e8a2f

Browse files
committed
chore(package): add conventional changelog
1 parent 27d6ef9 commit 75e8a2f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"dist/"
99
],
1010
"scripts": {
11+
"commitmsg": "conventional-changelog-lint -e",
12+
"postpublish": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"chore(changelog): Update changelog v`npm view post-config version`\"",
1113
"test": "gulp test",
1214
"build": "gulp",
1315
"deploy": "gulp deploy",
@@ -36,6 +38,8 @@
3638
"devDependencies": {
3739
"babel-preset-es2015-node6": "^0.4.0",
3840
"babel-register": "^6.18.0",
41+
"conventional-changelog-cli": "^1.2.0",
42+
"conventional-changelog-lint": "^1.1.0",
3943
"doiuse": "^2.5.0",
4044
"execa": "^0.6.0",
4145
"gulp": "github:gulpjs/gulp#4.0",
@@ -44,6 +48,7 @@
4448
"gulp-gh-pages": "^0.5.4",
4549
"gulp-postcss": "^6.2.0",
4650
"gulp-rename": "^1.2.2",
51+
"husky": "^0.12.0",
4752
"postcss-at-rules-variables": "0.0.26",
4853
"postcss-attribute-selector-prefix": "0.0.11",
4954
"postcss-banner": "^3.0.0",

0 commit comments

Comments
 (0)