Skip to content

Commit d40e2ca

Browse files
committed
feat(package.json): add build:push script to build and push changes to remote repository in one command
1 parent 540b4b3 commit d40e2ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"dev": "ts-node ./src/cli.ts",
4444
"build": "rimraf out && node esbuild.config.js",
4545
"deploy": "npm run build && npm version patch && npm publish --tag latest",
46+
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
4647
"lint": "eslint src --ext ts && tsc --noEmit",
4748
"format": "prettier --write src"
4849
},

0 commit comments

Comments
 (0)