Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 53d3074

Browse files
committed
feat: add script for generating CHANGELOG.md
1 parent df61fc8 commit 53d3074

2 files changed

Lines changed: 494 additions & 15 deletions

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"main": "index.js",
66
"scripts": {
77
"precommit": "lint-staged",
8-
"test": "tsc && ava"
8+
"test": "tsc && ava",
9+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
10+
"version": "npm run changelog && git add CHANGELOG.md"
911
},
1012
"author": "",
1113
"license": "MIT",
@@ -27,6 +29,7 @@
2729
},
2830
"devDependencies": {
2931
"ava": "^0.25.0",
32+
"conventional-changelog-cli": "^1.3.21",
3033
"husky": "^0.14.3",
3134
"lint-staged": "^7.0.4",
3235
"prettier": "^1.12.0",

0 commit comments

Comments
 (0)