Skip to content

Commit

Permalink
Add: いらないブランチをまとめて消すyarnコマンド
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Nov 2, 2023
1 parent 76c4acd commit 65cf215
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"scripts": {
"build:development": "cross-env RAILS_ENV=development NODE_ENV=development ./bin/webpack",
"build:production": "cross-env RAILS_ENV=production NODE_ENV=production ./bin/webpack",
"clean:all": "yarn clean:kbdraft & yarn clean:kbtopic & yarn clean:upstream",
"clean:kbdraft": "git branch | grep kb-draft- | xargs git branch -d",
"clean:kbtopic": "git branch | grep kbtopic- | xargs git branch -d",
"clean:upstream": "git branch | grep upstream- | xargs git branch -d",
"fix:js": "yarn lint:js --fix",
"fix:json": "prettier --write \"**/*.{json,json5}\"",
"fix:md": "prettier --write \"**/*.md\"",
Expand Down

0 comments on commit 65cf215

Please sign in to comment.