Skip to content

Commit

Permalink
add publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
idok committed Aug 7, 2019
1 parent 1bef275 commit 1b99f81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint .",
"test": "npm run lint && npm run unit-test",
"unit-test": "cross-env NODE_ENV=test nyc mocha tests/**/*.js --reporter=dot"
"unit-test": "cross-env NODE_ENV=test nyc mocha tests/**/*.js --reporter=dot",
"patch": "npm version patch -m\"update version to %s\" && git push && git push --tags",
"minor": "npm version minor -m\"update version to %s\" && git push && git push --tags",
"major": "npm version major -m\"update version to %s\" && git push && git push --tags"
},
"files": [
"LICENSE",
Expand Down

0 comments on commit 1b99f81

Please sign in to comment.