Skip to content

Commit a088906

Browse files
authored
Add in deploy scripts (#16)
This adds deploy scripts to make life easier because we forget how to deploy.
1 parent bf821b1 commit a088906

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
"prettier:lint": "prettier -c .",
1515
"prettier:fix": "prettier --write .",
1616
"start": "node dist/index.js",
17+
"deploy": "npm run build && npm publish",
18+
"deploy:patch": "npm version patch && npm run build && npm publish",
19+
"deploy:minor": "npm version minor && npm run build && npm publish",
20+
"deploy:major": "npm version major && npm run build && npm publish",
1721
"postbuild": "node ./.version-updater.js"
1822
},
1923
"files": [

0 commit comments

Comments
 (0)