Skip to content

Commit

Permalink
[Dev Deps] add auto-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 14, 2020
1 parent a344cf8 commit 29679e0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"lint": "eslint . bin/*",
"pretest": "npm run lint",
"tests-only": "tape 'test/**'",
"test": "npm run tests-only"
"test": "npm run tests-only",
"preversion": "auto-changelog",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -64,8 +67,16 @@
},
"devDependencies": {
"@ljharb/eslint-config": "^17.0.0",
"auto-changelog": "^2.0.0",
"eslint": "^7.0.0",
"json-diff": "^0.5.4",
"tape": "^5.0.0"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false
}
}

0 comments on commit 29679e0

Please sign in to comment.