Skip to content

Commit

Permalink
feat(package.json): add build:push script to build and push changes t…
Browse files Browse the repository at this point in the history
…o remote repository in one command
  • Loading branch information
di-sukharev committed May 21, 2023
1 parent 540b4b3 commit d40e2ca
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 @@ -43,6 +43,7 @@
"dev": "ts-node ./src/cli.ts",
"build": "rimraf out && node esbuild.config.js",
"deploy": "npm run build && npm version patch && npm publish --tag latest",
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
"lint": "eslint src --ext ts && tsc --noEmit",
"format": "prettier --write src"
},
Expand Down

0 comments on commit d40e2ca

Please sign in to comment.