"scripts": { "build": "...", "buildAndCommit": "func() { npm run build && git add . && git commit -m "BUILD - $1"; }; func" }