Skip to content

Commit

Permalink
chore: add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ndhoule committed May 7, 2019
1 parent 30e498c commit 4e65b26
Show file tree
Hide file tree
Showing 4 changed files with 1,665 additions and 1 deletion.
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
};
5 changes: 5 additions & 0 deletions husky.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
hooks: {
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
};
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,14 @@
"bugs": {
"url": "https://github.com/goodeggs/goodeggs-prettier-config/issues"
},
"homepage": "https://github.com/goodeggs/goodeggs-prettier-config#readme"
"homepage": "https://github.com/goodeggs/goodeggs-prettier-config#readme",
"scripts": {
"release": "yarn publish && conventional-github-releaser"
},
"devDependencies": {
"@commitlint/cli": "^7.6.0",
"@commitlint/config-conventional": "^7.6.0",
"conventional-github-releaser": "^3.1.2",
"husky": "^2.2.0"
}
}
Loading

0 comments on commit 4e65b26

Please sign in to comment.