Skip to content

Commit

Permalink
Add npm script for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 31, 2017
1 parent bd07714 commit 363f8f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"clean": "rm -rf ./build/",
"jshint": "jshint src/**/*.js bin/*.js test/*.js test/**/*.js",
"release": "git tag v$(jq -r .version package.json) && git push --tags && npm publish",
"test": "npm run jshint && npm run clean && mocha test/**/*.spec.js"
},
"bin": {
Expand Down

0 comments on commit 363f8f0

Please sign in to comment.