Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

controlled string variable npm script run

"scripts": {
  "build": "...",
  "buildAndCommit": "func() { npm run build && git add . && git commit -m "BUILD - $1"; }; func"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #controlled #string #variable #npm #script #run
ADD COMMENT
Topic
Name
3+5 =