Skip to content

Commit

Permalink
chore: use release-it for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Sep 26, 2020
1 parent afe275d commit 1cf951d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"license": "MIT",
"scripts": {
"build": "rm -rf dist && webpack",
"test": "jest \"__tests__/.*\\.test\\.ts\""
"test": "jest \"__tests__/.*\\.test\\.ts\"",
"release": "release-it"
},
"dependencies": {
"get-value": "3.0.1"
Expand Down Expand Up @@ -61,5 +62,21 @@
},
"testRegex": "",
"testURL": "http://localhost/"
},
"release-it": {
"hooks": {
"before:init": [
"npm test"
],
"after:bump": [
"npm run build"
]
},
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
}
}
}

0 comments on commit 1cf951d

Please sign in to comment.