Skip to content

Commit

Permalink
update release commands
Browse files Browse the repository at this point in the history
  • Loading branch information
aquiladev committed Apr 14, 2020
1 parent 1e71265 commit 58bc249
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"hooks": {
"before:init": [
"npm i",
"npm run lint",
"npm run prune-prod"
"npm prune --production"
],
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"test": "jest",
"lint": "eslint --max-warnings 0 **/*.js",
"prune-prod": "npm prune --production"
"prune-prod": "npm prune --production",
"release": "release-it --no-npm"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 58bc249

Please sign in to comment.