Skip to content

Commit

Permalink
Add in deploy scripts (#16)
Browse files Browse the repository at this point in the history
This adds deploy scripts to make life easier because we forget how
to deploy.
  • Loading branch information
nohe427 authored Jan 26, 2022
1 parent bf821b1 commit a088906
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"prettier:lint": "prettier -c .",
"prettier:fix": "prettier --write .",
"start": "node dist/index.js",
"deploy": "npm run build && npm publish",
"deploy:patch": "npm version patch && npm run build && npm publish",
"deploy:minor": "npm version minor && npm run build && npm publish",
"deploy:major": "npm version major && npm run build && npm publish",
"postbuild": "node ./.version-updater.js"
},
"files": [
Expand Down

0 comments on commit a088906

Please sign in to comment.