From 3df2cbc6853c160adf2df7756dfa7ccb6aa5f1f8 Mon Sep 17 00:00:00 2001 From: Xicri <107226297+xicri@users.noreply.github.com> Date: Wed, 11 Dec 2024 06:57:27 +0900 Subject: [PATCH] chore: add npm scripts `clean` & `refresh` --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index a3543ed7..29ffb189 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,8 @@ "lint": "nuxt typecheck", "purge-cache": "esno ./scripts/purge-cache.ts", "update-nuxt": "nuxi upgrade --force", + "clean": "git clean -dX --exclude=\"!.env\" --force", + "refresh": "pnpm run clean && rm --force ./pnpm-lock.yaml && corepack up && pnpm install", "postinstall": "node ./scripts/postinstall.mjs && nuxt prepare && npm list @playwright/test && playwright install || echo 'Playwright installation skipped.'" }, "dependencies": {