Skip to content

Commit

Permalink
[build] Added changelog and release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Jul 30, 2019
1 parent c770b15 commit afee0b8
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,31 @@
"description": "JustGage is a handy JavaScript plugin for generating and animating nice & clean gauges. It is based on Raphaël library for vector drawing, so it’s completely resolution independent and self-adjusting.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"changelog": "auto-changelog -p && git add CHANGELOG.md",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it"
},
"repository": {
"type": "git",
"url": "https://github.com/toorshia/justgage.git"
},
"auto-changelog": {
"commitLimit": false
},
"release-it": {
"github": {
"release": true
},
"git": {
"tagName": "v${version}"
},
"hooks": {
"after:bump": "npm run changelog"
},
"npm": {
"publish": false
}
},
"keywords": [
"gauge",
"meter",
Expand Down

0 comments on commit afee0b8

Please sign in to comment.