From e121c05c9ee509e00c170724b269e5110147f34d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KMY=EF=BC=88=E9=9B=AA=E3=81=82=E3=81=99=E3=81=8B=EF=BC=89?= Date: Fri, 3 Nov 2023 09:49:26 +0900 Subject: [PATCH] =?UTF-8?q?Add:=20=E3=81=84=E3=82=89=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=83=96=E3=83=A9=E3=83=B3=E3=83=81=E3=82=92=E3=81=BE=E3=81=A8?= =?UTF-8?q?=E3=82=81=E3=81=A6=E6=B6=88=E3=81=99`yarn`=E3=82=B3=E3=83=9E?= =?UTF-8?q?=E3=83=B3=E3=83=89=20(#227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index c02c00bddd..be20313ed5 100644 --- a/package.json +++ b/package.json @@ -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\"",