From ef35338f5176ed8824da80f21041796e6797a9ac Mon Sep 17 00:00:00 2001 From: roushou Date: Wed, 10 Jul 2024 16:15:34 +0700 Subject: [PATCH] chore: add `clean` script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ecc126cbf0..44d3014599 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,10 @@ "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT", "scripts": { - "build": "packemon build --addEngines --addFiles --declaration && npx packemon validate --no-license --no-people --no-repo && tailwindcss -i ./src/styles/index.css -o ./src/tailwind.css --minify && tailwindcss -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --minify", + "build": "yarn clean && packemon build --addEngines --addFiles --declaration && npx packemon validate --no-license --no-people --no-repo && tailwindcss -i ./src/styles/index.css -o ./src/tailwind.css --minify && tailwindcss -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --minify", "ci:format": "biome ci --linter-enabled=false --organize-imports-enabled=false", "ci:lint": "biome ci --formatter-enabled=false --organize-imports-enabled=false", + "clean": "rimraf ./dist ./esm ./src/styles.css ./src/tailwind.css", "format": "biome format --write .", "lint": "biome lint --write .", "lint:unsafe": "biome lint --write --unsafe .",